Commit 66082813 authored by hezhen's avatar hezhen

122

parent 14b9165a
...@@ -175,6 +175,22 @@ public class AppUserController extends CommonBaseController{ ...@@ -175,6 +175,22 @@ public class AppUserController extends CommonBaseController{
Integer userid=Integer.parseInt(username); Integer userid=Integer.parseInt(username);
return myWaterBiz.getUserProfit(userid); return myWaterBiz.getUserProfit(userid);
} }
@ApiOperation("获取用IM密码")
@GetMapping("/im/getPwd")
public ObjectRestResponse getPwd() throws Exception{
String username = userAuthUtil.getInfoFromToken(userAuthConfig.getToken(request)).getId();
if (username == null) {
throw new Exception();
}
Integer userid=Integer.parseInt(username);
AppUserLogin appUserLogin=appUserLoginBiz.getUserById(userid);
String imPassword="";
if (appUserLogin!=null){
imPassword=appUserLogin.getImPassword();
}
return ObjectRestResponse.succ(imPassword);
}
/** /**
* 更新用户信息 * 更新用户信息
* @param userVo * @param userVo
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment