Browse Source

/WrTrade2/QueryWrDraftUserInfo:返回添加”modifystatus“, "hasauth";

deng.yinping 3 weeks ago
parent
commit
dafe0cf31d
4 changed files with 14 additions and 1 deletions
  1. 4 0
      docs/docs.go
  2. 4 0
      docs/swagger.json
  3. 3 0
      docs/swagger.yaml
  4. 3 1
      models/wrTrade2.go

+ 4 - 0
docs/docs.go

@@ -62407,6 +62407,10 @@ const docTemplate = `{
                     "description": "半身照地址",
                     "type": "string"
                 },
+                "hasauth": {
+                    "description": "是否已实名(枚举'hasauth')",
+                    "type": "integer"
+                },
                 "hasencrypt": {
                     "description": "数据是否已加密 - 0:未加密 1:已加密",
                     "type": "integer"

+ 4 - 0
docs/swagger.json

@@ -62399,6 +62399,10 @@
                     "description": "半身照地址",
                     "type": "string"
                 },
+                "hasauth": {
+                    "description": "是否已实名(枚举'hasauth')",
+                    "type": "integer"
+                },
                 "hasencrypt": {
                     "description": "数据是否已加密 - 0:未加密 1:已加密",
                     "type": "integer"

+ 3 - 0
docs/swagger.yaml

@@ -27929,6 +27929,9 @@ definitions:
       halfbodyphotourl:
         description: 半身照地址
         type: string
+      hasauth:
+        description: 是否已实名(枚举'hasauth')
+        type: integer
       hasencrypt:
         description: 数据是否已加密 - 0:未加密 1:已加密
         type: integer

+ 3 - 1
models/wrTrade2.go

@@ -5055,6 +5055,7 @@ type WrDraftUserInfo struct {
 
 	Bankbankname string `json:"bankbankname"  xorm:"BANKBANKNAME"` // 银行名称
 	MODIFYSTATUS int32  `json:"modifystatus"  xorm:"MODIFYSTATUS"` // 变更状态(枚举'modifystatus')
+	HASAUTH      int32  `json:"hasauth"  xorm:"HASAUTH"`           // 是否已实名(枚举'hasauth')
 }
 
 func (r *WrDraftUserInfo) calc() {
@@ -5075,7 +5076,8 @@ func (r *WrDraftUserInfo) buildSql() string {
 		to_char(t.MODIFIERTIME, 'yyyy-mm-dd hh24:mi:ss') MODIFIERTIME2,
 		t.*,
 		b.bankname BANKBANKNAME,
-		ua.modifystatus MODIFYSTATUS
+		ua.modifystatus MODIFYSTATUS,
+		ua.hasauth HASAUTH
 		FROM DRAFT_USERINFO t
 		LEFT JOIN bank_bankinfo b on b.bankid = t.bankid
 		LEFT JOIN useraccount ua on ua.userid = t.userid