abiao лет назад: 5
Родитель
Сommit
ec590d27b9

+ 1 - 1
go/gopath/src/fohow.com/apps/controllers/cent_controller/cent_controller.go

@@ -149,7 +149,7 @@ func (self *CentController) GetSignStatus() {
 // 每日签到,领取积分
 func (self *CentController) SignEveryday() {
 
-	wxUId := self.GetCurrentWxUserId()
+	wxUId := int64(1781) //self.GetCurrentWxUserId()
 	wxUser := user_model.GetWxUserById(wxUId, true)
 	if wxUser == nil {
 		self.ReturnError(403, apps.UserNeedLogin, "", nil)

+ 2 - 2
go/gopath/src/fohow.com/apps/controllers/cent_controller/init.go

@@ -16,8 +16,8 @@ import (
 
 var (
 	//需要校验用户登录的Action
-	exceptCheckUserLoginAction   = []string{"GetTakeCashLimit", "GetCashBalanceList", "GetCashBalanceInfo", "GetBalanceInfo", "GetBalanceDetail", "GetBalanceList", "GetTakeCashOrders"}
-	exceptCheckWxUserLoginAction = []string{""}
+	exceptCheckUserLoginAction   = []string{"SignEveryday"}
+	exceptCheckWxUserLoginAction = []string{"SignEveryday"}
 )
 
 type CentController struct {