Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Frontend ¶
type Frontend struct {
Ui bool `json:"ui"`
Url string `json:"url"`
Configuration bool `json:"configuration"`
}
Frontend 插件前端配置
type JsonRes ¶
type JsonRes struct {
Code int `json:"code"` // 错误码((0:成功, 1:失败, >1:错误码))
Message string `json:"message"` // 提示信息
Data interface{} `json:"data"` // 返回数据(业务接口定义具体数据结构)
}
JsonRes 数据返回通用JSON数据结构
type NoticeData ¶
type NoticeData struct {
Config map[interface{}]interface{}
SendParam map[string]interface{}
Msg NoticeInfoData
}
type NoticeInfoData ¶
type NoticeInfoData struct {
ConfigId string `orm:"config_id" json:"config_id"` //
ComeFrom string `orm:"come_from" json:"come_from"` //
Method string `orm:"method" json:"method"` //
MethodCron string `orm:"method_cron" json:"method_cron"` //
MethodNum int `orm:"method_num" json:"method_num"` //
MsgTitle string `orm:"msg_title" json:"msg_title"` //
MsgBody string `orm:"msg_body" json:"msg_body"` //
MsgUrl string `orm:"msg_url" json:"msg_url"` //
UserIds string `orm:"user_ids" json:"user_ids"` //
PartyIds string `orm:"party_ids" json:"party_ids"` //
Totag []NoticeSendObject `orm:"totag" json:"totag"` //
TemplateCode string `orm:"template_code" json:"template_code"` //
}
type NoticeSendObject ¶
type PluginInfo ¶
type PluginInfo struct {
Types string `json:"types"`
HandleType string `json:"handleType"`
Name string `json:"name"`
Title string `json:"title"`
Description string `json:"description"`
Version string `json:"version"`
Author string `json:"author"`
Icon string `json:"icon"`
Link string `json:"link"`
Command string `json:"command"`
Args []string `json:"args"`
Root bool `json:"root"`
Frontend Frontend `json:"frontend"`
}
PluginInfo 插件信息结构
Click to show internal directories.
Click to hide internal directories.