package user_controller import ( // "fmt" // "math/rand" // "strconv" // "strings" // "time" // "d" // "github.com/alidayu" // "github.com/astaxie/beego" "github.com/astaxie/beego/context" // "github.com/astaxie/beego/httplib" "fohow.com/apps" // "fohow.com/cache" // "fohow.com/apps/models/project_join_model" // "fohow.com/apps/models/project_model" ) var ( exceptCheckUserLoginAction = []string{"SysUserBind", "BindingTel", "UpdateWxUserInfo", "CheckLogin", "GenerateQrcode", "GetInviteList", "GetMonthlyInviteList", "OneClickBindingTel", "BindingWxPhone", "SetWxUserInviter", "Get"} exceptCheckWxUserLoginAction = []string{"SysUserBind", "CheckLogin"} ) type UserController struct { apps.BaseController } func (self *UserController) Init(ctx *context.Context, controllerName, actionName string, app interface{}) { self.BaseController.Init(ctx, controllerName, actionName, app) self.ExceptCheckUserLoginAction = exceptCheckUserLoginAction self.ExceptCheckWxUserLoginAction = exceptCheckWxUserLoginAction }