mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-11 19:53:50 +08:00
add API for get and set image url for wechat
This commit is contained in:
@@ -11,6 +11,7 @@ type Config struct {
|
||||
EnableAuth bool // 是否开启鉴权
|
||||
AccessKey string // 管理员访问 AccessKey, 通过传入这个参数可以访问系统管理 API
|
||||
Chat Chat
|
||||
ImgURL ImgURL // 各种图片资源链接地址,比如微信二维码,群二维码
|
||||
}
|
||||
|
||||
type User struct {
|
||||
@@ -48,3 +49,8 @@ type Session struct {
|
||||
HttpOnly bool
|
||||
SameSite http.SameSite
|
||||
}
|
||||
|
||||
type ImgURL struct {
|
||||
WechatCard string `json:"wechat_card"` // 个人微信二维码
|
||||
WechatGroup string `json:"wechat_group"` // 微信群二维码
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user