小程序获取手机号接口
This commit is contained in:
@@ -37,7 +37,12 @@ public class UserAuthorizationController {
|
||||
return CzgResult.success(userAuthorizationService.login(userAuthorizationLoginDTO));
|
||||
}
|
||||
|
||||
@PostMapping
|
||||
/**
|
||||
* 获取手机号
|
||||
* @param getPhoneDTO 获取手机号信息
|
||||
* @return 手机号
|
||||
*/
|
||||
@PostMapping("/phone")
|
||||
public CzgResult<String> getPhone(@RequestBody @Validated GetPhoneDTO getPhoneDTO) {
|
||||
return CzgResult.success(userAuthorizationService.getPhone(getPhoneDTO));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user