Browse Source

修改 org 初始状态字段

庄逸洲 5 years ago
parent
commit
69105aed5b
2 changed files with 2 additions and 2 deletions
  1. 1 1
      controllers/mobile_regist_controller.go
  2. 1 1
      controllers/org_controller.go

+ 1 - 1
controllers/mobile_regist_controller.go View File

@@ -239,7 +239,7 @@ func (this *MobileRegistController) CreateOrgSubmit() {
239 239
 		ContactName:  contactName,
240 240
 		Claim:        1,
241 241
 		Evaluate:     5,
242
-		Status:       2,
242
+		Status:       1,
243 243
 		CreateTime:   time.Now().Unix(),
244 244
 		ModifyTime:   time.Now().Unix(),
245 245
 	}

+ 1 - 1
controllers/org_controller.go View File

@@ -167,7 +167,7 @@ func (this *OrgController) CreateSubmit() {
167 167
 		Gallery:         orgPics,
168 168
 		Claim:           1,
169 169
 		Evaluate:        5,
170
-		Status:          2,
170
+		Status:          1,
171 171
 		CreateTime:      time.Now().Unix(),
172 172
 		ModifyTime:      time.Now().Unix(),
173 173
 	}