恢复微信小程序登录
This commit is contained in:
@ -43,6 +43,12 @@ public class AuthController {
|
|||||||
return Result.ok(result);
|
return Result.ok(result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ApiOperation(value = "微信小程序登录", notes = "通过微信code登录")
|
||||||
|
@PostMapping("/mini-program/wechat/login")
|
||||||
|
public Result<LoginResponse> wechatLogin(@RequestParam("code") String code) {
|
||||||
|
return Result.ok(userService.miniProgramLogin(code));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@ApiOperation(value = "支付宝小程序登录", notes = "支付宝小程序登录")
|
@ApiOperation(value = "支付宝小程序登录", notes = "支付宝小程序登录")
|
||||||
@PostMapping("/mini-program/alipayLogin")
|
@PostMapping("/mini-program/alipayLogin")
|
||||||
|
|||||||
Reference in New Issue
Block a user