|
@@ -4,9 +4,7 @@ import com.ruoyi.common.core.web.domain.AjaxResult;
|
|
|
import com.sooka.sponest.mobile.message.domain.AppMessageVO;
|
|
|
import com.sooka.sponest.mobile.message.service.AppMessageService;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
-import org.springframework.web.bind.annotation.GetMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
|
@@ -60,4 +58,15 @@ public class AppMessageController {
|
|
|
}
|
|
|
|
|
|
|
|
|
+ @PostMapping("/sendMessageTencentVerifyCode")
|
|
|
+ public AjaxResult sendMessageTencentVerifyCode(@RequestBody AppMessageVO messageVO) {
|
|
|
+ return appMessageService.sendMessageTencentVerifyCode(messageVO);
|
|
|
+ }
|
|
|
+
|
|
|
+ @PostMapping("/verifyVerifyCode")
|
|
|
+ public AjaxResult verifyVerifyCode(@RequestBody AppMessageVO messageVO) {
|
|
|
+ return appMessageService.verifyVerifyCode(messageVO);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
}
|