|
@@ -124,6 +124,13 @@ public class AppAuthController {
|
|
|
return success(authService.socialLogin(reqVO));
|
|
|
}
|
|
|
|
|
|
+ @PostMapping("/social-register")
|
|
|
+ @Operation(summary = "社交快捷注册,使用code授权码",description = "同一个微信账号注册多个消费者账号")
|
|
|
+ public CommonResult<AppAuthLoginRespVO> socialRegister(@RequestBody @Valid AppAuthSocialRegisterReqVO requestVO){
|
|
|
+
|
|
|
+ return success(authService.socialRegister(requestVO, null, true, true));
|
|
|
+ }
|
|
|
+
|
|
|
@PostMapping("/select-username-login")
|
|
|
@Operation(summary = "选择用户名登录")
|
|
|
public CommonResult<AppAuthLoginRespVO> selectUsernameLogin(@RequestBody @Valid AppAuthSelectUsernameLoginReqVO reqVO) {
|