소스 검색

/Common/QueryNotice: 加回createtime

deng.yinping 10 달 전
부모
커밋
bf99845f35
4개의 변경된 파일12개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 0
      docs/docs.go
  2. 4 0
      docs/swagger.json
  3. 3 0
      docs/swagger.yaml
  4. 1 1
      models/common.go

+ 4 - 0
docs/docs.go

@@ -25067,6 +25067,10 @@ const docTemplate = `{
                     "description": "内容",
                     "type": "string"
                 },
+                "createtime": {
+                    "description": "创建时间",
+                    "type": "string"
+                },
                 "isforcedisplay": {
                     "description": "是否强制显示 - 0:不强制 1:强制",
                     "type": "integer"

+ 4 - 0
docs/swagger.json

@@ -25058,6 +25058,10 @@
                     "description": "内容",
                     "type": "string"
                 },
+                "createtime": {
+                    "description": "创建时间",
+                    "type": "string"
+                },
                 "isforcedisplay": {
                     "description": "是否强制显示 - 0:不强制 1:强制",
                     "type": "integer"

+ 3 - 0
docs/swagger.yaml

@@ -673,6 +673,9 @@ definitions:
       content:
         description: 内容
         type: string
+      createtime:
+        description: 创建时间
+        type: string
       isforcedisplay:
         description: 是否强制显示 - 0:不强制 1:强制
         type: integer

+ 1 - 1
models/common.go

@@ -148,7 +148,7 @@ type Noticemsg struct {
 	Sentstatus     int32     `json:"sentstatus"  xorm:"'SENTSTATUS'"`            // 推送状态 - 0:未推送 1:已推送 2:审核拒绝
 	Endtime        time.Time `json:"-"  xorm:"'ENDTIME'"`                        // 结束时间
 	Creatorid      int64     `json:"-"  xorm:"'CREATORID'"`                      // 建仓人
-	Createtime     time.Time `json:"-"  xorm:"'CREATETIME'"`                     // 创建时间
+	Createtime     time.Time `json:"createtime"  xorm:"'CREATETIME'"`            // 创建时间
 	Auditoruserid  int64     `json:"-"  xorm:"'AUDITORUSERID'"`                  // 审核人
 	Audittime      time.Time `json:"-"  xorm:"'AUDITTIME'"`                      // 审核日期
 	Auditremark    string    `json:"-"  xorm:"'AUDITREMARK'"`                    // 审核备注