to dev
This commit is contained in:
@@ -116,9 +116,9 @@ public class ThirdPartyController {
|
||||
return Response.success(accountService.updateNoLoginRequiredNew(noLoginRequiredDTO, request));
|
||||
}
|
||||
|
||||
// @CrossOrigin
|
||||
// @GetMapping("/auth/google_callback")
|
||||
// public Response<String> googleCallback(@RequestParam("code") String code, HttpSession session) {
|
||||
// return Response.success(accountService.googleCallback(code, session));
|
||||
// }
|
||||
@CrossOrigin
|
||||
@GetMapping("/auth/google_callback")
|
||||
public Response<String> googleCallback(@RequestParam("code") String code, HttpSession session) {
|
||||
return Response.success(accountService.googleCallback(code, session));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -183,7 +183,7 @@ public interface AccountService extends IService<Account> {
|
||||
|
||||
void halfPricePromotion();
|
||||
|
||||
// String googleCallback(String code, HttpSession session);
|
||||
String googleCallback(String code, HttpSession session);
|
||||
|
||||
List<String> getPaidCustomerEmail();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user