فهرست منبع

拉黑列表 去掉type默认值1

qinxuyang 14 ساعت پیش
والد
کامیت
ce9008caac
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      alien-store/src/main/java/shop/alien/store/controller/LifeBlacklistController.java

+ 1 - 1
alien-store/src/main/java/shop/alien/store/controller/LifeBlacklistController.java

@@ -70,7 +70,7 @@ public class LifeBlacklistController {
     @GetMapping("/blackListByUserId")
     public R<List<LifeBlacklistVo>> blackListByUserId(@RequestParam(value = "userType") String userType,
                                                       @RequestParam(value = "userId") String userId,
-                                                      @RequestParam(value = "type", defaultValue = "1") Integer type) {
+                                                      @RequestParam(value = "type") Integer type) {
         return R.data(lifeBlacklistService.blackListByUserId(userType, userId, type));
     }