1
This commit is contained in:
@@ -140,9 +140,9 @@ func (a *Auth2Controller) GetToken4Jxc4(c *gin.Context) {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
// MiniProgramSortLink 获取小程序跳转联机
|
// MiniProgramSortLink 获取小程序跳转链接
|
||||||
// @Title 获取小程序跳转联机
|
// @Title 获取小程序跳转链接
|
||||||
// @Description 获取小程序跳转联机
|
// @Description 获取小程序跳转链接
|
||||||
// @Success 200 {object} controllers.CallResult
|
// @Success 200 {object} controllers.CallResult
|
||||||
// @Failure 200 {object} controllers.CallResult
|
// @Failure 200 {object} controllers.CallResult
|
||||||
// @router /getToken4Jxc4 [get]
|
// @router /getToken4Jxc4 [get]
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ type PrintNotice struct {
|
|||||||
ID int `orm:"column(id)" json:"id" db:"id"`
|
ID int `orm:"column(id)" json:"id" db:"id"`
|
||||||
CreatedAt time.Time `orm:"type(datetime)" json:"created_at" db:"created_at"` // 创建时间
|
CreatedAt time.Time `orm:"type(datetime)" json:"created_at" db:"created_at"` // 创建时间
|
||||||
UpdatedAt time.Time `orm:"type(datetime)" json:"updated_at" db:"updated_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"` // 内容(广告就是图片,通知消息就是文字)
|
Msg string `orm:"type(varchar);size(255)" json:"msg" db:"msg"` // 内容(广告就是图片,通知消息就是文字)
|
||||||
Link string `orm:"type(varchar);size(255)" json:"link" db:"link"` // 跳转地址
|
Link string `orm:"type(varchar);size(255)" json:"link" db:"link"` // 跳转地址
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user