|
@@ -67,7 +67,7 @@ func (this *OrgStructure) InvitationPage() error {
|
|
|
OrgUrl := util.ObjToString(config.Sysconfig["wxOrgUrl"]) + "?entUserId=" + entUserId + "&depId=" + depId + "&entId=" + entId + "&depcname=" + depcname
|
|
|
if !mobileReg.MatchString(client) {
|
|
|
OrgUrl = util.ObjToString(config.Sysconfig["pcOrgUrl"]) + "?entUserId=" + entUserId + "&depId=" + depId + "&entId=" + entId + "&depcname=" + depcname
|
|
|
- } else if entUserId_sess == nil || entUserId_sess.(string) != entUserId_str {
|
|
|
+ } else if entUserId_sess == nil || util.ObjToString(entUserId_sess) != entUserId_str {
|
|
|
userId := util.ObjToString(this.Session().Get("userId"))
|
|
|
openId := util.ObjToString(this.Session().Get("s_m_openid"))
|
|
|
phone := util.ObjToString(this.Session().Get("phone"))
|