|
@@ -31,6 +31,7 @@ import javax.annotation.Resource;
|
31
|
31
|
import javax.validation.Valid;
|
32
|
32
|
import java.util.HashMap;
|
33
|
33
|
import java.util.List;
|
|
34
|
+import java.util.Map;
|
34
|
35
|
|
35
|
36
|
/**
|
36
|
37
|
* ApiController
|
|
@@ -73,7 +74,6 @@ public class ApiAppController extends BaseController {
|
73
|
74
|
|
74
|
75
|
/**
|
75
|
76
|
* 诊所列表
|
76
|
|
- *
|
77
|
77
|
*/
|
78
|
78
|
@GetMapping(value = "/clinicList")
|
79
|
79
|
@ApiOperation("诊所列表")
|
|
@@ -114,7 +114,8 @@ public class ApiAppController extends BaseController {
|
114
|
114
|
|
115
|
115
|
@PostMapping("/checkCaptchaCode")
|
116
|
116
|
@ApiOperation("验证短信验证码")
|
117
|
|
- public AjaxResult checkCaptchaCode(String phoneNumber, String captchaCode) {
|
118
|
|
- appUserService.checkCaptchaCode(phoneNumber, captchaCode);
|
|
117
|
+ public AjaxResult checkCaptchaCode(@RequestBody Map<String, String> map) {
|
|
118
|
+ appUserService.checkCaptchaCode(map.get("phoneNumber"), map.get("captchaCode"));
|
119
|
119
|
return success();
|
120
|
|
- }}
|
|
120
|
+ }
|
|
121
|
+}
|