|
@@ -127,6 +127,11 @@ func (this *CommonRouter) WebIndex() error {
|
|
|
|
|
|
// WebPcPage 前端vue页面公共路由
|
|
|
func (this *CommonRouter) WebPcPage(page string) error {
|
|
|
+ if userId, _ := this.GetSession("userId").(string); userId == "" { //P414
|
|
|
+ if cc, err := this.GetCookie(jy.ChannelCookieName); err == nil {
|
|
|
+ this.T["cooperateCode"] = cc.Value
|
|
|
+ }
|
|
|
+ }
|
|
|
return this.Render(fmt.Sprintf("/micro/web-pc/index.html"))
|
|
|
}
|
|
|
|