添加了微信小程序登陆后判断是否绑定网站账号的接口
This commit is contained in:
parent
092ab59079
commit
8d30b05c5e
@ -240,4 +240,15 @@ public class SysUserController {
|
||||
return sysUserService.adminUpdatePassword(userId,newPassword,confirmPassword);
|
||||
}
|
||||
|
||||
/**
|
||||
* 微信小程序登陆后判断是否绑定网站账号
|
||||
* @param map
|
||||
* @return
|
||||
*/
|
||||
@PostMapping("/findUserByOpenId")
|
||||
public String findUserByOpenId(@RequestBody Map map){
|
||||
String openId = (String) map.get("openId");
|
||||
return sysUserService.findUserByOpenId(openId);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user