Ver código fonte

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

zou.yingbin 4 anos atrás
pai
commit
fc2b6a600e
1 arquivos alterados com 2 adições e 0 exclusões
  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 {