|
@@ -40,7 +40,7 @@ public class SysSmsController extends BaseController {
|
40
|
40
|
* @return 实例对象
|
41
|
41
|
*/
|
42
|
42
|
@ApiOperation("获取短信验证码")
|
43
|
|
- @GetMapping("/sms-captcha")
|
|
43
|
+ @PostMapping("/sms-captcha")
|
44
|
44
|
public ResponseBean getSmsCaptcha(@ApiParam("手机号") @RequestParam String phone) throws Exception {
|
45
|
45
|
if (StringUtils.isEmpty(phone)) {
|
46
|
46
|
return ResponseBean.error("手机号不能为空");
|