|
@@ -0,0 +1,25 @@
|
|
|
|
|
+package com.sqx.modules.datacentre.controller.app;
|
|
|
|
|
+
|
|
|
|
|
+import com.sqx.common.utils.Result;
|
|
|
|
|
+import com.sqx.modules.datacentre.service.RiderBankCardInfoService;
|
|
|
|
|
+import io.swagger.annotations.Api;
|
|
|
|
|
+import io.swagger.annotations.ApiOperation;
|
|
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
+import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
+
|
|
|
|
|
+@Api(tags={"骑手银行卡信息"})
|
|
|
|
|
+@RestController
|
|
|
|
|
+@RequestMapping("/app/rider/bank")
|
|
|
|
|
+public class AppRiderBankCardInfoController {
|
|
|
|
|
+
|
|
|
|
|
+ @Autowired
|
|
|
|
|
+ private RiderBankCardInfoService riderBankCardInfoService;
|
|
|
|
|
+
|
|
|
|
|
+ @ApiOperation("查询单个骑手银行卡信息")
|
|
|
|
|
+ @GetMapping("/getUserId")
|
|
|
|
|
+ public Result getUserIdCardInfo(Long userId) {
|
|
|
|
|
+ return riderBankCardInfoService.getUserIdCardInfo(userId);
|
|
|
|
|
+ }
|
|
|
|
|
+}
|