|
@@ -4,6 +4,7 @@ import cn.efunbox.audio.entity.res.ResCategory;
|
|
|
import cn.efunbox.audio.service.res.ResCategoryService;
|
|
|
import cn.efunbox.audio.utils.ResApiResult;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.web.bind.annotation.RequestHeader;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
@@ -15,7 +16,9 @@ public class ResCategoryController {
|
|
|
ResCategoryService resCategoryService;
|
|
|
|
|
|
@RequestMapping(value = "/getTypeList")
|
|
|
- public ResApiResult<ResCategory> getResCategoryList(){
|
|
|
+ public ResApiResult<ResCategory> getResCategoryList(@RequestHeader(value = "USERID",required = false) String USERID){
|
|
|
return resCategoryService.getResCategoryList();
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
}
|