TASK:AiDA
This commit is contained in:
@@ -314,14 +314,14 @@ public class AccountController {
|
||||
@CrossOrigin
|
||||
@GetMapping("/bindGoogle")
|
||||
@ApiOperation(value = "绑定谷歌")
|
||||
public Response<AccountLoginVO> bindGoogle(@RequestParam("credential") String credential) {
|
||||
public Response<Boolean> bindGoogle(@RequestParam("credential") String credential) {
|
||||
return Response.success(accountService.bindGoogle(credential));
|
||||
}
|
||||
|
||||
@CrossOrigin
|
||||
@GetMapping("/bindWeChat")
|
||||
@ApiOperation(value = "绑定微信")
|
||||
public Response<AccountLoginVO> bindWeChat(@RequestParam("code") String code) {
|
||||
public Response<Boolean> bindWeChat(@RequestParam("code") String code) {
|
||||
return Response.success(accountService.bindWeChat(code));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user