Explorar o código

fix bug:审核拒绝的状态描述为空

zou.yingbin %!s(int64=4) %!d(string=hai) anos
pai
achega
fc2b6a600e
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      models/ermcpUser.go

+ 2 - 0
models/ermcpUser.go

@@ -126,6 +126,8 @@ func (r *ErmcpUserModel) DecodeStausName(queryType int32) {
 			r.STATUSDESC = "未提交"
 		} else if r.STATUS == 2 || r.STATUS == 4 {
 			r.STATUSDESC = "待审核"
+		} else if r.STATUS == 3 || r.STATUS == 5 {
+			r.STATUSDESC = "审核拒绝"
 		}
 	} else if queryType == 3 || queryType == 4 {
 		if r.STATUS == 4 {