songshuai 5 年 前
コミット
4e1353cecd

+ 4 - 1
src/main/java/cn/efunbox/audio/controller/res/ResAlbumController.java

@@ -18,7 +18,10 @@ public class ResAlbumController {
     ResAlbumService resAlbumService;
 
     @RequestMapping(value = "/getTypeContentList")
-    public ResApiResult<ResOnePage<ResAlbum>> getResCategoryList(@RequestHeader(value = "USERID",required = false) String USERID, @RequestParam(name="typeId") String typeId, @RequestParam(name="pageNum") int pageNum, @RequestParam(name="pageSize") int pageSize){
+    public ResApiResult<ResOnePage<ResAlbum>> getResCategoryList(@RequestHeader(value = "USERID",required = false) String USERID,
+                                                                 @RequestParam(name="typeId",required = false) String typeId,
+                                                                 @RequestParam(name="pageNum",required = false) int pageNum,
+                                                                 @RequestParam(name="pageSize",required = false) int pageSize){
         return resAlbumService.getResAlbumList(typeId,pageNum,pageSize);
     }
 }

+ 1 - 1
src/main/java/cn/efunbox/audio/utils/ResApiResult.java

@@ -20,7 +20,7 @@ public class ResApiResult<T> implements Serializable {
     }
 
     private ResApiResult(ResApiCode ResApiCode, String msg) {
-        this.recode = recode;
+        this.recode = ResApiCode.getCode();
         this.msg = msg;
     }