|
@@ -59,10 +59,11 @@ func (this *OrgStructure) InvitationPage() error {
|
|
from := this.GetString("from") //邀请人
|
|
from := this.GetString("from") //邀请人
|
|
depId := this.GetString("depId") //加密后-部门id
|
|
depId := this.GetString("depId") //加密后-部门id
|
|
entId := this.GetString("entId") //加密后-企业id
|
|
entId := this.GetString("entId") //加密后-企业id
|
|
- registered := "0" //是否是剑鱼用户:0:未关注; 1:已关注
|
|
|
|
- OrgUrl := util.ObjToString(config.Sysconfig["wxOrgUrl"]) + "?from=" + from + "&depId=" + depId + "&entId=" + entId + "®istered=" + registered
|
|
|
|
|
|
+ depcname := this.GetString("depcname")
|
|
|
|
+ registered := "0" //是否是剑鱼用户:0:未关注; 1:已关注
|
|
|
|
+ OrgUrl := util.ObjToString(config.Sysconfig["wxOrgUrl"]) + "?from=" + from + "&depId=" + depId + "&entId=" + entId + "&depcname=" + depcname
|
|
if !mobileReg.MatchString(client) {
|
|
if !mobileReg.MatchString(client) {
|
|
- OrgUrl = util.ObjToString(config.Sysconfig["pcOrgUrl"]) + "?from=" + from + "&depId=" + depId + "&entId=" + entId
|
|
|
|
|
|
+ OrgUrl = util.ObjToString(config.Sysconfig["pcOrgUrl"]) + "?from=" + from + "&depId=" + depId + "&entId=" + entId + "&depcname=" + depcname
|
|
} else {
|
|
} else {
|
|
openId := util.ObjToString(this.Session().Get("s_m_openid"))
|
|
openId := util.ObjToString(this.Session().Get("s_m_openid"))
|
|
phone := ""
|
|
phone := ""
|