|
@@ -61,7 +61,7 @@ var APPArticle = "/jyapp/article/content/%s"
|
|
var PCProject = "/swordfish/page_big_pc/pro_follow_detail?sid=%s"
|
|
var PCProject = "/swordfish/page_big_pc/pro_follow_detail?sid=%s"
|
|
var APPProject = "/jyapp/big/page/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 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"
|
|
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 strings.Contains(urlStr, "/pro_follow_detail") {
|
|
//移动端项目详情页
|
|
//移动端项目详情页
|
|
if repType == "app" {
|
|
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" {
|
|
} 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 {
|
|
} 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 strings.Contains(urlStr, "/client_follow_detail") {
|
|
//商机管理项目详情页
|
|
//商机管理项目详情页
|
|
if repType == "app" {
|
|
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" {
|
|
} 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 {
|
|
} 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") {
|
|
if strings.Contains(urlStr, "/succbi/nzj/app/nzj.app") {
|