@@ -156,7 +156,7 @@ func (this *CommonRouter) BigpcPage(htmlPage string) error {
return this.doPcBigPage(htmlPage)
}
-var bigVipFreePageReg = regexp.MustCompile(`set_*|free_*|unit_portrayal|analysis_search`)
+var bigVipFreePageReg = regexp.MustCompile(`set_*|free_*|unit_portrayal|analysis_(search|result)`)
func (this *CommonRouter) doPcBigPage(pageSign string) error {
userid, _ := this.GetSession("userId").(string)
@@ -14,7 +14,7 @@ type NewBigMemberAction struct {
powerClear xweb.Mapper `xweb:"/jyapp/bigMember/powerClear"` //大会员清除redis 服务id缓存
-var freePageReg = regexp.MustCompile(`full|landingPage|buy_commit|contrast|orderdetail_*|write_infor|init|set_*|ontrial_commit|bid_*|free_*|ent_portrait|bigvip_subreport_*|report_detail_*|analysis_search`)
+var freePageReg = regexp.MustCompile(`full|landingPage|buy_commit|contrast|orderdetail_*|write_infor|init|set_*|ontrial_commit|bid_*|free_*|ent_portrait|bigvip_subreport_*|report_detail_*|analysis_(search|filter)`)
func init() {
jy.InitBigVipService(public.Mysql)
@@ -28,6 +28,10 @@ func (l *sessionfilter) Do(w http.ResponseWriter, req *http.Request) bool {
if len(match) == 0 {
return true
+ //投标决策分析前置接口开放
+ if req.URL.Path == "/bigmember/analysis/projectName" || req.URL.Path == "/bigmember/analysis/projectInfo" {
+ return true
+ }
userId, ok := session.Get("userId").(string)
if !ok || userId == "" {
R.ServeJson(w, req, &Result{Error_code_1004, Error_msg_1004, nil})