Browse Source

查签约银行返回加密字段

zou.yingbin 4 năm trước cách đây
mục cha
commit
f3e0cf499c
4 tập tin đã thay đổi với 60 bổ sung5 xóa
  1. 20 0
      docs/docs.go
  2. 20 0
      docs/swagger.json
  3. 15 0
      docs/swagger.yaml
  4. 5 5
      models/qhj.go

+ 20 - 0
docs/docs.go

@@ -21872,6 +21872,10 @@ var doc = `{
                     "type": "string"
                 },
                 "accountname": {
+                    "description": "资金账号对应的账号名(UserName)",
+                    "type": "string"
+                },
+                "accountname2": {
                     "description": "资金账号对应的账号名(UserName) - 密文",
                     "type": "string"
                 },
@@ -21896,10 +21900,18 @@ var doc = `{
                     "type": "string"
                 },
                 "bankaccountname": {
+                    "description": "签约银行卡账号名",
+                    "type": "string"
+                },
+                "bankaccountname2": {
                     "description": "签约银行卡账号名 - 密文",
                     "type": "string"
                 },
                 "bankaccountno": {
+                    "description": "银行卡号",
+                    "type": "string"
+                },
+                "bankaccountno2": {
                     "description": "银行卡号 - 密文",
                     "type": "string"
                 },
@@ -21940,6 +21952,10 @@ var doc = `{
                     "type": "string"
                 },
                 "cardno": {
+                    "description": "证件号码",
+                    "type": "string"
+                },
+                "cardno2": {
                     "description": "证件号码 - 密文",
                     "type": "string"
                 },
@@ -21968,6 +21984,10 @@ var doc = `{
                     "type": "string"
                 },
                 "mobilephone": {
+                    "description": "手机号",
+                    "type": "string"
+                },
+                "mobilephone2": {
                     "description": "手机号 - 密文",
                     "type": "string"
                 },

+ 20 - 0
docs/swagger.json

@@ -21856,6 +21856,10 @@
                     "type": "string"
                 },
                 "accountname": {
+                    "description": "资金账号对应的账号名(UserName)",
+                    "type": "string"
+                },
+                "accountname2": {
                     "description": "资金账号对应的账号名(UserName) - 密文",
                     "type": "string"
                 },
@@ -21880,10 +21884,18 @@
                     "type": "string"
                 },
                 "bankaccountname": {
+                    "description": "签约银行卡账号名",
+                    "type": "string"
+                },
+                "bankaccountname2": {
                     "description": "签约银行卡账号名 - 密文",
                     "type": "string"
                 },
                 "bankaccountno": {
+                    "description": "银行卡号",
+                    "type": "string"
+                },
+                "bankaccountno2": {
                     "description": "银行卡号 - 密文",
                     "type": "string"
                 },
@@ -21924,6 +21936,10 @@
                     "type": "string"
                 },
                 "cardno": {
+                    "description": "证件号码",
+                    "type": "string"
+                },
+                "cardno2": {
                     "description": "证件号码 - 密文",
                     "type": "string"
                 },
@@ -21952,6 +21968,10 @@
                     "type": "string"
                 },
                 "mobilephone": {
+                    "description": "手机号",
+                    "type": "string"
+                },
+                "mobilephone2": {
                     "description": "手机号 - 密文",
                     "type": "string"
                 },

+ 15 - 0
docs/swagger.yaml

@@ -9414,6 +9414,9 @@ definitions:
         description: 资金账号
         type: string
       accountname:
+        description: 资金账号对应的账号名(UserName)
+        type: string
+      accountname2:
         description: 资金账号对应的账号名(UserName) - 密文
         type: string
       accounttype:
@@ -9432,9 +9435,15 @@ definitions:
         description: 审核时间
         type: string
       bankaccountname:
+        description: 签约银行卡账号名
+        type: string
+      bankaccountname2:
         description: 签约银行卡账号名 - 密文
         type: string
       bankaccountno:
+        description: 银行卡号
+        type: string
+      bankaccountno2:
         description: 银行卡号 - 密文
         type: string
       bankaccounttype:
@@ -9465,6 +9474,9 @@ definitions:
         description: 签约银行支行名称
         type: string
       cardno:
+        description: 证件号码
+        type: string
+      cardno2:
         description: 证件号码 - 密文
         type: string
       cardtype:
@@ -9486,6 +9498,9 @@ definitions:
         description: 扩展信息(JSON字符串)
         type: string
       mobilephone:
+        description: 手机号
+        type: string
+      mobilephone2:
         description: 手机号 - 密文
         type: string
       netaddr:

+ 5 - 5
models/qhj.go

@@ -795,11 +795,11 @@ type QhjBankAccountSign struct {
 	RELATEDUSERID    int64  `json:"relateduserid"  xorm:"'RELATEDUSERID'"`     // 关联使用者userid
 	BANKNAME         string `json:"bankname"  xorm:"'BANKNAME'"`               // 签约银行名称
 
-	ACCOUNTNAME2     string `json:"accountname"`     // 资金账号对应的账号名(UserName) - 密文
-	BANKACCOUNTNAME2 string `json:"bankaccountname"` // 签约银行卡账号名 - 密文
-	CARDNO2          string `json:"cardno"`          // 证件号码 - 密文
-	BANKACCOUNTNO2   string `json:"bankaccountno"`   // 银行卡号 - 密文
-	MOBILEPHONE2     string `json:"mobilephone"`     // 手机号 - 密文
+	ACCOUNTNAME2     string `json:"accountname2"`     // 资金账号对应的账号名(UserName) - 密文
+	BANKACCOUNTNAME2 string `json:"bankaccountname2"` // 签约银行卡账号名 - 密文
+	CARDNO2          string `json:"cardno2"`          // 证件号码 - 密文
+	BANKACCOUNTNO2   string `json:"bankaccountno2"`   // 银行卡号 - 密文
+	MOBILEPHONE2     string `json:"mobilephone2"`     // 手机号 - 密文
 }
 
 func (r *QhjBankAccountSign) calc() {