|
@@ -23,7 +23,7 @@ public class SendSmsController {
|
|
|
* @return
|
|
|
*/
|
|
|
@GetMapping("/{phone}")
|
|
|
- public AjaxResult sendSms(String phone) {
|
|
|
+ public AjaxResult sendSms(@PathVariable String phone) {
|
|
|
JSONObject jsonObject = new JSONObject();
|
|
|
String code = SendSmsUtils.getCode(4);
|
|
|
jsonObject.put("code", code);
|