23 lines
740 B
Go
23 lines
740 B
Go
package giftdiamond
|
|
|
|
type ratioDTO struct {
|
|
GiftTypeCode string `json:"giftTypeCode"`
|
|
RatioPercent string `json:"ratioPercent"`
|
|
ReturnCoinRatioPercent string `json:"returnCoinRatioPercent"`
|
|
RegionID int64 `json:"regionId"`
|
|
EffectiveRegionID int64 `json:"effectiveRegionId"`
|
|
Status string `json:"status"`
|
|
UpdatedAtMS int64 `json:"updatedAtMs"`
|
|
}
|
|
|
|
type ratioListDTO struct {
|
|
RegionID int64 `json:"regionId"`
|
|
Items []ratioDTO `json:"items"`
|
|
}
|
|
|
|
type updateRequest struct {
|
|
RegionID int64 `json:"regionId"`
|
|
Ratios map[string]interface{} `json:"ratios"`
|
|
ReturnCoinRatios map[string]interface{} `json:"returnCoinRatios"`
|
|
}
|