123456789101112131415161718192021222324252627282930 |
- package model
- // PushConfig [...]
- type PushRepoConfig struct {
- Id int64 `db:"id" json:"id"`
- Name string `db:"name" json:"name"`
- Class string `db:"class" json:"class"`
- Type string `db:"type" json:"type"`
- Status int64 `db:"status" json:"status"`
- Conf map[string]PushContentConf `db:"conf" json:"conf"` // 皮肤资源id
- }
- func (PushRepoConfig) TableName() string {
- return "crazygod_api_config.t_fasebase_push_conf"
- }
- type PushShowConfig struct {
- List []PushRepoConfig ` json:"list"`
- LangList []EnCnTag ` json:"langList"`
- }
- type PushContentConf struct {
- Title string `json:"title"`
- Content string `json:"content"`
- }
- type EnCnTag struct {
- En string `json:"en"`
- Cn string `json:"cn"`
- }
|