TASK:AiDA

This commit is contained in:
shahaibo
2024-12-11 16:21:18 +08:00
parent 2ac54a50ec
commit 82f7571612
5 changed files with 107 additions and 26 deletions

View File

@@ -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));
}
}