Explorar o código

fit:参数信息

wangshan %!s(int64=3) %!d(string=hai) anos
pai
achega
3d6cbac304
Modificáronse 1 ficheiros con 4 adicións e 3 borrados
  1. 4 3
      src/jfw/front/org_structure.go

+ 4 - 3
src/jfw/front/org_structure.go

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