瀏覽代碼

Merge branch 'dev/v4.8.23.2_wh' of qmx/jy into hotfix/v4.8.23.2

王浩 2 年之前
父節點
當前提交
cbb3a68854
共有 1 個文件被更改,包括 7 次插入7 次删除
  1. 7 7
      src/jfw/modules/publicapply/src/transfer/transfer.go

+ 7 - 7
src/jfw/modules/publicapply/src/transfer/transfer.go

@@ -61,7 +61,7 @@ var APPArticle = "/jyapp/article/content/%s"
 var PCProject = "/swordfish/page_big_pc/pro_follow_detail?sid=%s"
 var APPProject = "/jyapp/big/page/pro_follow_detail?sid=%s"
 var WXProject = "/big/wx/page/pro_follow_detail?sid=%s"
-var APPEntProject = "/jyapp/big/page/client_follow_detail?sid=%s&from=client&"
+var APPEntProject = "/jyapp/big/page/client_follow_detail?sid=%s&from=client"
 var WXEntProject = "/big/wx/page/client_follow_detail?sid=%s&from=client"
 
 // 拟在建项目
@@ -111,21 +111,21 @@ func UrlHandle(urlStr string, repType string, u *httpsession.Session) string {
 	if strings.Contains(urlStr, "/pro_follow_detail") {
 		//移动端项目详情页
 		if repType == "app" {
-			newUrl = fmt.Sprintf(APPProject, url.QueryEscape(strings.Join(queryMap["sid"], "")), "")
+			newUrl = fmt.Sprintf(APPProject, url.QueryEscape(strings.Join(queryMap["sid"], "")))
 		} else if repType == "wx" {
-			newUrl = fmt.Sprintf(WXProject, url.QueryEscape(strings.Join(queryMap["sid"], "")), "")
+			newUrl = fmt.Sprintf(WXProject, url.QueryEscape(strings.Join(queryMap["sid"], "")))
 		} else {
-			newUrl = fmt.Sprintf(PCProject, url.QueryEscape(strings.Join(queryMap["sid"], "")), "")
+			newUrl = fmt.Sprintf(PCProject, url.QueryEscape(strings.Join(queryMap["sid"], "")))
 		}
 	}
 	if strings.Contains(urlStr, "/client_follow_detail") {
 		//商机管理项目详情页
 		if repType == "app" {
-			newUrl = fmt.Sprintf(APPEntProject, url.QueryEscape(strings.Join(queryMap["sid"], "")), "")
+			newUrl = fmt.Sprintf(APPEntProject, url.QueryEscape(strings.Join(queryMap["sid"], "")))
 		} else if repType == "wx" {
-			newUrl = fmt.Sprintf(WXEntProject, url.QueryEscape(strings.Join(queryMap["sid"], "")), "")
+			newUrl = fmt.Sprintf(WXEntProject, url.QueryEscape(strings.Join(queryMap["sid"], "")))
 		} else {
-			newUrl = fmt.Sprintf(PCProject, url.QueryEscape(strings.Join(queryMap["sid"], "")), "")
+			newUrl = fmt.Sprintf(PCProject, url.QueryEscape(strings.Join(queryMap["sid"], "")))
 		}
 	}
 	if strings.Contains(urlStr, "/succbi/nzj/app/nzj.app") {