linwe
2024-08-09 8b7258c9427882bb1798f1502eaa35184c6e374e
src/main/java/org/springblade/modules/resource/controller/SmsController.java
@@ -49,7 +49,7 @@
 * @author BladeX
 */
@NonDS
@ApiIgnore
//@ApiIgnore
@RestController
@AllArgsConstructor
@RequestMapping(AppConstant.APPLICATION_RESOURCE_NAME + "/sms")
@@ -150,4 +150,16 @@
   }
   /**
    * 发送短信验证码
    */
   @PostMapping("/smsSend")
   @ApiOperationSupport(order = 8)
   @ApiOperation(value = "发送短信验证码", notes = "")
   public R smsSend( @RequestParam(value = "phone",required = false) String phone,@RequestParam(value = "type",required = false)String type) {
      return R.status(smsService.smsSend(phone,type));
   }
}