|
@@ -171,6 +171,10 @@ func (this *UserController) Detail() {
|
|
|
br.ErrMsg = "获取用户信息失败,Err:" + err.Error()
|
|
|
return
|
|
|
}
|
|
|
+ fmt.Println(utils.MD5(userDetail.Mobile))
|
|
|
+ if userDetail.Mobile != "" {
|
|
|
+ resp.InviteShareCode = services.GetInviteShareCode(userDetail.Mobile) //判断用户是否属于销售,并且获取对应加密的分享码
|
|
|
+ }
|
|
|
resp.OutboundCountryCode = userDetail.OutboundCountryCode
|
|
|
resp.OutboundMobile = userDetail.OutboundMobile
|
|
|
var hasPermission int
|