添加了微信小程序登陆后判断是否绑定网站账号的接口
This commit is contained in:
		| @@ -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); | ||||
|     } | ||||
|  | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user