| 123456789101112131415161718192021222324 |
- package promotion_controller
- import (
- "github.com/astaxie/beego/context"
- "fohow.com/apps"
- )
- var (
- //以下Action无需登录校验,exceptCheckUserLoginAction = []string{"*"} *代表全部不需要
- exceptCheckUserLoginAction = []string{""}
- exceptCheckWxUserLoginAction = []string{""}
- )
- type PromotionController struct {
- apps.BaseController
- }
- func (self *PromotionController) Init(ctx *context.Context, controllerName, actionName string, app interface{}) {
- self.BaseController.Init(ctx, controllerName, actionName, app)
- self.ExceptCheckUserLoginAction = exceptCheckUserLoginAction
- self.ExceptCheckWxUserLoginAction = exceptCheckWxUserLoginAction
- }
|