فهرست منبع

Merge branch 'release' of http://192.168.3.207:10080/qmx/jy into release

wangshan 6 سال پیش
والد
کامیت
4a845a7ade
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      src/jfw/modules/app/src/jfw/front/search.go

+ 3 - 0
src/jfw/modules/app/src/jfw/front/search.go

@@ -43,12 +43,14 @@ func (p *Search) Getstatus() error {
 	var tablepro bool
 	var dataexportstatus bool
 	var smartstatus bool
+	var followent bool
 	if p.GetSession("openid") != nil {
 		supstatus = jylabutil.IsAuthorized(p.GetSession("openid").(string), "i_supersearch")
 		entstatus = jylabutil.IsAuthorized(p.GetSession("openid").(string), "i_entsesearch")
 		tablepro = jylabutil.IsAuthorized(p.GetSession("openid").(string), "i_tablepro")
 		dataexportstatus = jylabutil.IsAuthorized(p.GetSession("openid").(string), "i_dataexport")
 		smartstatus = jylabutil.IsAuthorized(p.GetSession("openid").(string), "i_smartset")
+		followent = jylabutil.IsAuthorized(p.GetSession("openid").(string), "i_followent")
 	}
 	p.ServeJson(map[string]interface{}{
 		"supstatus":        supstatus,
@@ -56,6 +58,7 @@ func (p *Search) Getstatus() error {
 		"tablepro":         tablepro,
 		"dataexportstatus": dataexportstatus,
 		"smartstatus":      smartstatus,
+		"followent":        followent,
 	})
 	return nil
 }