Ver código fonte

Merge branch 'feature/v4.8.83_wky' of qmx/jy into feature/v4.8.83

wangkaiyue 1 ano atrás
pai
commit
a744710b70
1 arquivos alterados com 5 adições e 1 exclusões
  1. 5 1
      src/jfw/front/index.go

+ 5 - 1
src/jfw/front/index.go

@@ -64,6 +64,10 @@ func init() {
 			true:  fmt.Sprintf("/page_workDesktop/work-bench/page?link=%s/succbi/nzbg/app/nzbg.app/nzbg_entrance_pc.spg", config.Sysconfig["webdomain"].(string)),
 			false: "/swordfish/frontPage/AnnualReport/free/index",
 		},
+		"xxfb": map[bool]string{ //【年终报告】根据code判断是否有权限
+			true:  fmt.Sprintf("/page_workDesktop/work-bench/page?link=%s/swordfish/page_web_pc/issued/info", config.Sysconfig["webdomain"].(string)),
+			false: "/swordfish/frontPage/InformationDistribution/free/index",
+		},
 	}
 }
 
@@ -179,7 +183,7 @@ func (nIndex *NewIndex) EntServerTransfer(code string) {
 		if accountId <= 0 { //未登录
 			return entServerTransferMap[code][false]
 		}
-		if code == "nzbg" {
+		if code == "nzbg" || code == "xxfb" {
 			return entServerTransferMap[code][true]
 		}
 		entAccountId := common.Int64All(sessVal["entAccountId"])