Revert "feat: 微信登录获取用户信息,客户列表按最后登录排序"
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This reverts commit e35189b203.
This commit is contained in:
@@ -38,16 +38,10 @@ public class AuthController {
|
||||
|
||||
/**
|
||||
* 微信登录
|
||||
* @param code 微信授权码
|
||||
* @param nickname 微信昵称(可选)
|
||||
* @param avatar 微信头像URL(可选)
|
||||
*/
|
||||
@PostMapping("/wechat")
|
||||
public Result<Map<String, Object>> wechatLogin(
|
||||
@RequestParam String code,
|
||||
@RequestParam(required = false) String nickname,
|
||||
@RequestParam(required = false) String avatar) {
|
||||
Map<String, Object> result = authService.wechatLogin(code, nickname, avatar);
|
||||
public Result<Map<String, Object>> wechatLogin(@RequestParam String code) {
|
||||
Map<String, Object> result = authService.wechatLogin(code);
|
||||
return Result.success(result);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user