|
@@ -5,7 +5,6 @@ import (
|
|
"github.com/go-xweb/xweb"
|
|
"github.com/go-xweb/xweb"
|
|
"jfw/config"
|
|
"jfw/config"
|
|
"jfw/public"
|
|
"jfw/public"
|
|
- "log"
|
|
|
|
"qfw/util/jy"
|
|
"qfw/util/jy"
|
|
"strings"
|
|
"strings"
|
|
)
|
|
)
|
|
@@ -44,6 +43,7 @@ type CommonRouter struct {
|
|
|
|
|
|
func init() {
|
|
func init() {
|
|
xweb.AddAction(&CommonRouter{})
|
|
xweb.AddAction(&CommonRouter{})
|
|
|
|
+ jy.InitBigVipService(public.Mysql)
|
|
}
|
|
}
|
|
|
|
|
|
func (this *CommonRouter) WxCommonPage(folder, loginSign, htmlPage string) error {
|
|
func (this *CommonRouter) WxCommonPage(folder, loginSign, htmlPage string) error {
|
|
@@ -161,7 +161,6 @@ func (this *CommonRouter) doPcBigPage(pageSign string) error {
|
|
if array := strings.Split(pageSign, "/"); len(array) > 0 {
|
|
if array := strings.Split(pageSign, "/"); len(array) > 0 {
|
|
pageSign = array[0]
|
|
pageSign = array[0]
|
|
}
|
|
}
|
|
- log.Println("pageSign", pageSign)
|
|
|
|
if !bigBaseMsg.CheckBigVipFrontPower(pageSign) {
|
|
if !bigBaseMsg.CheckBigVipFrontPower(pageSign) {
|
|
return this.Redirect("/big/page/index")
|
|
return this.Redirect("/big/page/index")
|
|
}
|
|
}
|