游戏商户后台添加分组的页面逻辑

This commit is contained in:
kongyuebin
2021-05-17 22:15:59 +08:00
parent 8bd7067c2f
commit f7a7eb737d
12 changed files with 380 additions and 44 deletions

View File

@@ -0,0 +1,6 @@
package response
type BaseResp struct {
Code int
Msg string
}

View File

@@ -0,0 +1,10 @@
package response
import "legend/models/legend"
type GroupListResp struct {
Code int `json:"code"`
Msg string `json:"msg"`
Count int `json:"count"`
Data []legend.Group `json:"data"`
}

View File

@@ -0,0 +1,24 @@
package response
import "legend/models/legend"
type AddTemplateResp struct {
Code int
Msg string
}
type TemplateListResp struct {
Code int `json:"code"`
Msg string `json:"msg"`
Count int `json:"count"`
Data []legend.ScaleTemplate `json:"data"`
}
type TemplateAllInfoResp struct {
AddTemplateResp
TemplateInfo *legend.ScaleTemplate
AnyMoneyInfo *legend.AnyMoney
FixMoneyInfos []legend.FixMoney
PresentFixMoneyInfos []legend.FixPresent
PresentScaleMoneyInfos []legend.ScalePresent
}