From 2b5422b0d78c4a06272a69b16fdd080577c65fe5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Tue, 6 Dec 2022 14:09:02 +0800 Subject: [PATCH] 1 --- controllers/app/wx_login.go | 6 +++--- model/app_model/print_notice.go | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/controllers/app/wx_login.go b/controllers/app/wx_login.go index 35b827a..f14c544 100644 --- a/controllers/app/wx_login.go +++ b/controllers/app/wx_login.go @@ -140,9 +140,9 @@ func (a *Auth2Controller) GetToken4Jxc4(c *gin.Context) { }) } -// MiniProgramSortLink 获取小程序跳转联机 -// @Title 获取小程序跳转联机 -// @Description 获取小程序跳转联机 +// MiniProgramSortLink 获取小程序跳转链接 +// @Title 获取小程序跳转链接 +// @Description 获取小程序跳转链接 // @Success 200 {object} controllers.CallResult // @Failure 200 {object} controllers.CallResult // @router /getToken4Jxc4 [get] diff --git a/model/app_model/print_notice.go b/model/app_model/print_notice.go index a8ab3f9..5194216 100644 --- a/model/app_model/print_notice.go +++ b/model/app_model/print_notice.go @@ -7,7 +7,7 @@ type PrintNotice struct { ID int `orm:"column(id)" json:"id" db:"id"` CreatedAt time.Time `orm:"type(datetime)" json:"created_at" db:"created_at"` // 创建时间 UpdatedAt time.Time `orm:"type(datetime)" json:"updated_at" db:"updated_at"` // 更新时间 - NoticeType int `orm:"type(int)" json:"notice_type" db:"notice_type"` // 类型(1-广告/2-通知) + NoticeType int `orm:"type(int)" json:"notice_type" db:"notice_type"` // 类型(1-广告/2-通知/3帮助) Msg string `orm:"type(varchar);size(255)" json:"msg" db:"msg"` // 内容(广告就是图片,通知消息就是文字) Link string `orm:"type(varchar);size(255)" json:"link" db:"link"` // 跳转地址 }