1 Star 0 Fork 0

h79 / gothird

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
agent.go 1.05 KB
一键复制 编辑 原始数据 按行查看 历史
huqiuyun 提交于 2024-02-21 14:53 . 应用消息
package structs
type AgentBase struct {
AgentId int32 `json:"agentid"`
Name string `json:"name"`
SquareLogoUrl string `json:"square_logo_url"`
}
type AgentDetail struct {
AgentBase
Description string `json:"description"`
AllowUserInfos AllowUserInfos `json:"allow_userinfos"`
AllowPartys AllowPartys `json:"allow_partys"`
AllowTags AllowTags `json:"allow_tags"`
Close int `json:"close"`
RedirectDomain string `json:"redirect_domain"`
ReportLocationFlag int `json:"report_location_flag"`
Isreportenter int `json:"isreportenter"`
HomeUrl string `json:"home_url"`
CustomizedPublishStatus int `json:"customized_publish_status"`
}
type AllowUserInfos struct {
User []AllowUser `json:"user"`
}
type AllowUser struct {
Userid string `json:"userid"`
}
type AllowPartys struct {
PartyId []int `json:"partyid"`
}
type AllowTags struct {
TagId []int `json:"tagid"`
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/h79/gothird.git
git@gitee.com:h79/gothird.git
h79
gothird
gothird
v1.8.79

搜索帮助

344bd9b3 5694891 D2dac590 5694891