Ver código fonte

#7077 【Go查询】api/Common/GetClientDocumnetConfigs:添加返回”6:App启动配置“相关的字段

deng.yinping 3 meses atrás
pai
commit
d701833178
4 arquivos alterados com 98 adições e 1 exclusões
  1. 32 0
      docs/docs.go
  2. 32 0
      docs/swagger.json
  3. 24 0
      docs/swagger.yaml
  4. 10 1
      models/ori.go

+ 32 - 0
docs/docs.go

@@ -30757,6 +30757,30 @@ const docTemplate = `{
         "models.ClientDocumentConfig": {
             "type": "object",
             "properties": {
+                "buttontext": {
+                    "description": "按钮文本 [type = app启动配置]",
+                    "type": "string"
+                },
+                "buttontexten": {
+                    "description": "按钮文本(英文) [type = app启动配置]",
+                    "type": "string"
+                },
+                "buttontextth": {
+                    "description": "按钮文本(泰文) [type = app启动配置]",
+                    "type": "string"
+                },
+                "buttontexttw": {
+                    "description": "按钮文本(繁体) [type = app启动配置]",
+                    "type": "string"
+                },
+                "buttontextvi": {
+                    "description": "按钮文本(越南语) [type = app启动配置]",
+                    "type": "string"
+                },
+                "displayfrequency": {
+                    "description": "显示频率 - 枚举 displayfrequency 1:首次 2:每次 3:间隔 [type = app启动配置]",
+                    "type": "integer"
+                },
                 "documentcontent": {
                     "description": "文档内容(简体)",
                     "type": "string"
@@ -30780,6 +30804,14 @@ const docTemplate = `{
                 "documenttype": {
                     "description": "文档类型",
                     "type": "integer"
+                },
+                "intervaldays": {
+                    "description": "间隔天数(displayfrequency=3时)[type = app启动配置]",
+                    "type": "integer"
+                },
+                "isenabled": {
+                    "description": "是否启用 - 0:不启用 1:启用 [type = app启动配置]",
+                    "type": "integer"
                 }
             }
         },

+ 32 - 0
docs/swagger.json

@@ -30748,6 +30748,30 @@
         "models.ClientDocumentConfig": {
             "type": "object",
             "properties": {
+                "buttontext": {
+                    "description": "按钮文本 [type = app启动配置]",
+                    "type": "string"
+                },
+                "buttontexten": {
+                    "description": "按钮文本(英文) [type = app启动配置]",
+                    "type": "string"
+                },
+                "buttontextth": {
+                    "description": "按钮文本(泰文) [type = app启动配置]",
+                    "type": "string"
+                },
+                "buttontexttw": {
+                    "description": "按钮文本(繁体) [type = app启动配置]",
+                    "type": "string"
+                },
+                "buttontextvi": {
+                    "description": "按钮文本(越南语) [type = app启动配置]",
+                    "type": "string"
+                },
+                "displayfrequency": {
+                    "description": "显示频率 - 枚举 displayfrequency 1:首次 2:每次 3:间隔 [type = app启动配置]",
+                    "type": "integer"
+                },
                 "documentcontent": {
                     "description": "文档内容(简体)",
                     "type": "string"
@@ -30771,6 +30795,14 @@
                 "documenttype": {
                     "description": "文档类型",
                     "type": "integer"
+                },
+                "intervaldays": {
+                    "description": "间隔天数(displayfrequency=3时)[type = app启动配置]",
+                    "type": "integer"
+                },
+                "isenabled": {
+                    "description": "是否启用 - 0:不启用 1:启用 [type = app启动配置]",
+                    "type": "integer"
                 }
             }
         },

+ 24 - 0
docs/swagger.yaml

@@ -4847,6 +4847,24 @@ definitions:
     type: object
   models.ClientDocumentConfig:
     properties:
+      buttontext:
+        description: 按钮文本 [type = app启动配置]
+        type: string
+      buttontexten:
+        description: 按钮文本(英文) [type = app启动配置]
+        type: string
+      buttontextth:
+        description: 按钮文本(泰文) [type = app启动配置]
+        type: string
+      buttontexttw:
+        description: 按钮文本(繁体) [type = app启动配置]
+        type: string
+      buttontextvi:
+        description: 按钮文本(越南语) [type = app启动配置]
+        type: string
+      displayfrequency:
+        description: 显示频率 - 枚举 displayfrequency 1:首次 2:每次 3:间隔 [type = app启动配置]
+        type: integer
       documentcontent:
         description: 文档内容(简体)
         type: string
@@ -4865,6 +4883,12 @@ definitions:
       documenttype:
         description: 文档类型
         type: integer
+      intervaldays:
+        description: 间隔天数(displayfrequency=3时)[type = app启动配置]
+        type: integer
+      isenabled:
+        description: 是否启用 - 0:不启用 1:启用 [type = app启动配置]
+        type: integer
     type: object
   models.Clientfixedadconfig:
     properties:

+ 10 - 1
models/ori.go

@@ -1073,6 +1073,15 @@ type ClientDocumentConfig struct {
 	DOCUMENTCONTENTTH string `json:"documentcontentth" xorm:"DOCUMENTCONTENTTH"` // 文档内容(泰文)
 	DOCUMENTCONTENTVI string `json:"documentcontentvi" xorm:"DOCUMENTCONTENTVI"` // 文档内容(越南语)
 
+	ISENABLED        int32  `json:"isenabled" xorm:"ISENABLED"`               // 是否启用 - 0:不启用 1:启用 [type = app启动配置]
+	DISPLAYFREQUENCY int32  `json:"displayfrequency" xorm:"DISPLAYFREQUENCY"` // 显示频率 - 枚举 displayfrequency 1:首次 2:每次 3:间隔 [type = app启动配置]
+	INTERVALDAYS     int32  `json:"intervaldays" xorm:"INTERVALDAYS"`         // 间隔天数(displayfrequency=3时)[type = app启动配置]
+	BUTTONTEXT       string `json:"buttontext" xorm:"BUTTONTEXT"`             // 按钮文本 [type = app启动配置]
+	BUTTONTEXTEN     string `json:"buttontexten" xorm:"BUTTONTEXTEN"`         // 按钮文本(英文) [type = app启动配置]
+	BUTTONTEXTTW     string `json:"buttontexttw" xorm:"BUTTONTEXTTW"`         // 按钮文本(繁体) [type = app启动配置]
+	BUTTONTEXTTH     string `json:"buttontextth" xorm:"BUTTONTEXTTH"`         // 按钮文本(泰文) [type = app启动配置]
+	BUTTONTEXTVI     string `json:"buttontextvi" xorm:"BUTTONTEXTVI"`         // 按钮文本(越南语) [type = app启动配置]
+
 }
 
 // TableName is CLIENT_DOCUMNETCONFIG
@@ -1381,7 +1390,7 @@ type Hybridamtrec struct {
 	RSP_BODY     string    `json:"rsp_body" xorm:"RSP_BODY"`         // 请求接口回复数据
 	STATUS_BODY  string    `json:"status_body" xorm:"STATUS_BODY"`   // 状态接口回复数据
 	PAYMENT_URL  string    `json:"payment_url" xorm:"PAYMENT_URL"`   // 支付地址
-	BANK_CODE	 string    `json:"bank_code" xorm:"BANK_CODE"`   	 // 银行代码
+	BANK_CODE    string    `json:"bank_code" xorm:"BANK_CODE"`       // 银行代码
 }
 
 // TableName is HYBRID_AMT_REC