Commit 7ff4b187 authored by renjie's avatar renjie

修改配置

parent 8202c0f8
......@@ -120,11 +120,11 @@ public class AccountController {
}
@RequestMapping(path = "/authCode", method = RequestMethod.POST)
public ResultDto requestOTP(@RequestParam("mobile") String mobile) {
public ResultDto requestOTP(@RequestBody MobileDto mobile) {
logger.error("mobile" + mobile);
ResultDto resultDto = new ResultDto();
try {
accountService.sendSmsOtp(mobile);
accountService.sendSmsOtp(mobile.getMobile());
resultDto.setStatus(0);
} catch (ClientRequestException e) {
resultDto.setStatus(-1);
......
......@@ -27,7 +27,7 @@ spring:
security:
oauth2:
resource:
user-info-uri: http://localhost:6000/browser/users/current
user-info-uri: http://localhost:1729/users/current
server:
port: 1729
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment