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 | 14 +++++++++++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/zy/asrs/controller/MobileController.java b/src/main/java/com/zy/asrs/controller/MobileController.java index 9409681..8eadac7 100644 --- a/src/main/java/com/zy/asrs/controller/MobileController.java +++ b/src/main/java/com/zy/asrs/controller/MobileController.java @@ -2,6 +2,11 @@ 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; @@ -11,15 +16,18 @@ */ @RestController @RequestMapping("mobile") -public class MobileController { +public class MobileController extends BaseController { + + @Autowired + private MobileService mobileService; /** * 缁勬墭 */ @RequestMapping("/comb/auth") @ManagerAuth(memo = "缁勬墭") - public R comb(){ - + public R comb(@RequestBody CombParam combParam){ + mobileService.comb(combParam, getUserId()); return R.ok(); } -- Gitblit v1.9.1