소스 검색

change shop area rank

abiao 4 년 전
부모
커밋
cc1a902475
1개의 변경된 파일15개의 추가작업 그리고 15개의 파일을 삭제
  1. 15 15
      go/gopath/src/fohow.com/apps/init.go

+ 15 - 15
go/gopath/src/fohow.com/apps/init.go

@@ -535,22 +535,22 @@ func (self *BaseController) Prepare() {
 		}
 		}
 	}
 	}
 	/*
 	/*
-	<<<<<<< HEAD
-			// FIXME : userId 与 wxUserId已统一,故不做userid登录check
-	=======
-			// FIXME : userId 与 wxUserId已统一
-	>>>>>>> b24580bdd09b3e2b6278d2deb8d368bb9c21d652
-			if len(self.ExceptCheckUserLoginAction) > 0 {
-				for _, an := range self.ExceptCheckUserLoginAction {
-					if strings.ToLower(an) == "*" || strings.ToLower(an) == strings.ToLower(actionName) {
-						needChkUserLogin = false
-						break
+		<<<<<<< HEAD
+				// FIXME : userId 与 wxUserId已统一,故不做userid登录check
+		=======
+				// FIXME : userId 与 wxUserId已统一
+		>>>>>>> b24580bdd09b3e2b6278d2deb8d368bb9c21d652
+				if len(self.ExceptCheckUserLoginAction) > 0 {
+					for _, an := range self.ExceptCheckUserLoginAction {
+						if strings.ToLower(an) == "*" || strings.ToLower(an) == strings.ToLower(actionName) {
+							needChkUserLogin = false
+							break
+						}
 					}
 					}
 				}
 				}
-			}
-			if needChkUserLogin {
-				checkUserLogin(self.Ctx)
-			}
+				if needChkUserLogin {
+					checkUserLogin(self.Ctx)
+				}
 	*/
 	*/
 
 
 	if needChkWxUserLogin {
 	if needChkWxUserLogin {
@@ -580,7 +580,7 @@ func (self *BaseController) ReturnError(status int, code []string, redirect stri
 	// if err != nil {
 	// if err != nil {
 	// 	beego.BeeLogger.Error("json encode error=[%s]", err)
 	// 	beego.BeeLogger.Error("json encode error=[%s]", err)
 	// }
 	// }
-	self.Ctx.Output.SetStatus(status)
+	//self.Ctx.Output.SetStatus(status)
 	// self.Ctx.Output.Header("Content-Type", "application/json; charset=utf-8")
 	// self.Ctx.Output.Header("Content-Type", "application/json; charset=utf-8")
 	self.Ctx.Output.JSON(errCode, true, true)
 	self.Ctx.Output.JSON(errCode, true, true)
 	self.StopRun()
 	self.StopRun()