mirror of
https://github.com/kongyuebin1/dongfeng-pay.git
synced 2025-12-13 20:49:57 +08:00
游戏商户后台添加分组的页面逻辑
This commit is contained in:
6
legend/response/baseResp.go
Normal file
6
legend/response/baseResp.go
Normal file
@@ -0,0 +1,6 @@
|
||||
package response
|
||||
|
||||
type BaseResp struct {
|
||||
Code int
|
||||
Msg string
|
||||
}
|
||||
10
legend/response/groupResp.go
Normal file
10
legend/response/groupResp.go
Normal 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"`
|
||||
}
|
||||
24
legend/response/templateResp.go
Normal file
24
legend/response/templateResp.go
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user