Jelajahi Sumber

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

zou.yingbin 4 tahun lalu
induk
melakukan
fc2b6a600e
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  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 {