From 4e4e1fcf869ccd460640210794cecbe3f710d70d Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期一, 29 六月 2020 09:58:54 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/controller/MobileController.java | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/zy/asrs/controller/MobileController.java b/src/main/java/com/zy/asrs/controller/MobileController.java index 0af752a..8eadac7 100644 --- a/src/main/java/com/zy/asrs/controller/MobileController.java +++ b/src/main/java/com/zy/asrs/controller/MobileController.java @@ -3,6 +3,9 @@ import com.core.annotations.ManagerAuth; import com.core.common.R; import com.zy.asrs.entity.param.CombParam; +import com.zy.asrs.service.MobileService; +import com.zy.common.web.BaseController; +import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; @@ -13,7 +16,10 @@ */ @RestController @RequestMapping("mobile") -public class MobileController { +public class MobileController extends BaseController { + + @Autowired + private MobileService mobileService; /** * 缁勬墭 @@ -21,7 +27,7 @@ @RequestMapping("/comb/auth") @ManagerAuth(memo = "缁勬墭") public R comb(@RequestBody CombParam combParam){ - + mobileService.comb(combParam, getUserId()); return R.ok(); } -- Gitblit v1.9.1