You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
234 lines
4.3 KiB
Go
234 lines
4.3 KiB
Go
3 years ago
|
package datas
|
||
|
|
||
|
import (
|
||
|
"boss/models/accounts"
|
||
|
"boss/models/agent"
|
||
|
"boss/models/merchant"
|
||
|
"boss/models/order"
|
||
|
"boss/models/payfor"
|
||
|
"boss/models/road"
|
||
|
"boss/models/system"
|
||
|
"boss/models/user"
|
||
|
)
|
||
4 years ago
|
|
||
|
type BaseDataJSON struct {
|
||
|
Msg string
|
||
|
Code int
|
||
|
}
|
||
|
|
||
|
type KeyDataJSON struct {
|
||
|
Msg string
|
||
|
Code int
|
||
|
Key string
|
||
|
}
|
||
|
|
||
|
type MenuDataJSON struct {
|
||
|
StartIndex int
|
||
|
DisplayCount int
|
||
|
CurrentPage int
|
||
|
TotalPage int
|
||
|
Code int
|
||
|
Msg string
|
||
3 years ago
|
MenuList []system.MenuInfo
|
||
4 years ago
|
}
|
||
|
|
||
|
type SecondMenuDataJSON struct {
|
||
|
StartIndex int
|
||
|
DisplayCount int
|
||
|
CurrentPage int
|
||
|
TotalPage int
|
||
|
Code int
|
||
|
Msg string
|
||
3 years ago
|
SecondMenuList []system.SecondMenuInfo
|
||
4 years ago
|
}
|
||
|
|
||
|
type PowerItemDataJSON struct {
|
||
|
StartIndex int
|
||
|
DisplayCount int
|
||
|
CurrentPage int
|
||
|
TotalPage int
|
||
|
Code int
|
||
|
Msg string
|
||
3 years ago
|
PowerItemList []system.PowerInfo
|
||
4 years ago
|
}
|
||
|
|
||
|
type RoleInfoDataJSON struct {
|
||
|
StartIndex int
|
||
|
DisplayCount int
|
||
|
CurrentPage int
|
||
|
TotalPage int
|
||
|
Code int
|
||
|
Msg string
|
||
3 years ago
|
RoleInfoList []system.RoleInfo
|
||
4 years ago
|
}
|
||
|
|
||
|
type DeployTreeJSON struct {
|
||
|
Msg string
|
||
|
Code int
|
||
|
Key string
|
||
3 years ago
|
AllFirstMenu []system.MenuInfo
|
||
4 years ago
|
ShowFirstMenuUid map[string]bool
|
||
3 years ago
|
AllSecondMenu []system.SecondMenuInfo
|
||
4 years ago
|
ShowSecondMenuUid map[string]bool
|
||
3 years ago
|
AllPower []system.PowerInfo
|
||
4 years ago
|
ShowPowerUid map[string]bool
|
||
|
}
|
||
|
|
||
|
type OperatorDataJSON struct {
|
||
|
Msg string
|
||
|
Code int
|
||
|
StartIndex int
|
||
|
DisplayCount int
|
||
|
CurrentPage int
|
||
|
TotalPage int
|
||
3 years ago
|
OperatorList []user.UserInfo
|
||
4 years ago
|
}
|
||
|
|
||
|
type EditOperatorDataJSON struct {
|
||
|
Code int
|
||
|
Msg string
|
||
3 years ago
|
OperatorList []user.UserInfo
|
||
|
RoleList []system.RoleInfo
|
||
4 years ago
|
}
|
||
|
|
||
|
type BankCardDataJSON struct {
|
||
|
Msg string
|
||
|
Code int
|
||
|
StartIndex int
|
||
|
DisplayCount int
|
||
|
CurrentPage int
|
||
|
TotalPage int
|
||
3 years ago
|
BankCardInfoList []system.BankCardInfo
|
||
4 years ago
|
}
|
||
|
|
||
|
type RoadDataJSON struct {
|
||
|
Msg string
|
||
|
Code int
|
||
|
StartIndex int
|
||
|
DisplayCount int
|
||
|
CurrentPage int
|
||
|
TotalPage int
|
||
3 years ago
|
RoadInfoList []road.RoadInfo
|
||
|
RoadPool road.RoadPoolInfo
|
||
4 years ago
|
}
|
||
|
|
||
|
type RoadPoolDataJSON struct {
|
||
|
Msg string
|
||
|
Code int
|
||
|
StartIndex int
|
||
|
DisplayCount int
|
||
|
CurrentPage int
|
||
|
TotalPage int
|
||
3 years ago
|
RoadPoolInfoList []road.RoadPoolInfo
|
||
4 years ago
|
}
|
||
|
|
||
|
type MerchantDataJSON struct {
|
||
|
Msg string
|
||
|
Code int
|
||
|
StartIndex int
|
||
|
DisplayCount int
|
||
|
CurrentPage int
|
||
|
TotalPage int
|
||
3 years ago
|
MerchantList []merchant.MerchantInfo
|
||
4 years ago
|
}
|
||
|
|
||
|
type MerchantDeployDataJSON struct {
|
||
|
Code int
|
||
|
Msg string
|
||
3 years ago
|
MerchantDeploy merchant.MerchantDeployInfo
|
||
4 years ago
|
}
|
||
|
|
||
|
type AccountDataJSON struct {
|
||
|
Msg string
|
||
|
Code int
|
||
|
StartIndex int
|
||
|
DisplayCount int
|
||
|
CurrentPage int
|
||
|
TotalPage int
|
||
3 years ago
|
AccountList []accounts.AccountInfo
|
||
4 years ago
|
}
|
||
|
|
||
|
type AccountHistoryDataJSON struct {
|
||
|
Msg string
|
||
|
Code int
|
||
|
StartIndex int
|
||
|
DisplayCount int
|
||
|
CurrentPage int
|
||
|
TotalPage int
|
||
3 years ago
|
AccountHistoryList []accounts.AccountHistoryInfo
|
||
4 years ago
|
}
|
||
|
|
||
|
type AgentDataJSON struct {
|
||
|
Msg string
|
||
|
Code int
|
||
|
StartIndex int
|
||
|
DisplayCount int
|
||
|
CurrentPage int
|
||
|
TotalPage int
|
||
3 years ago
|
AgentList []agent.AgentInfo
|
||
4 years ago
|
}
|
||
|
|
||
|
type ProductDataJSON struct {
|
||
|
Msg string
|
||
|
Code int
|
||
|
ProductMap map[string]string
|
||
|
}
|
||
|
|
||
|
type OrderDataJSON struct {
|
||
|
Msg string
|
||
|
Code int
|
||
|
StartIndex int
|
||
|
DisplayCount int
|
||
|
CurrentPage int
|
||
|
TotalPage int
|
||
3 years ago
|
OrderList []order.OrderInfo
|
||
4 years ago
|
AllAmount float64
|
||
|
SuccessRate string
|
||
|
NotifyUrl string
|
||
|
}
|
||
|
|
||
|
type ListDataJSON struct {
|
||
|
Msg string
|
||
|
Code int
|
||
|
StartIndex int
|
||
|
DisplayCount int
|
||
|
CurrentPage int
|
||
|
TotalPage int
|
||
3 years ago
|
List []order.OrderProfitInfo
|
||
4 years ago
|
AllAmount float64
|
||
|
SupplierProfit float64
|
||
|
AgentProfit float64
|
||
|
PlatformProfit float64
|
||
|
}
|
||
|
|
||
|
type PayForDataJSON struct {
|
||
|
Msg string
|
||
|
Code int
|
||
|
StartIndex int
|
||
|
DisplayCount int
|
||
|
CurrentPage int
|
||
|
TotalPage int
|
||
3 years ago
|
PayForList []payfor.PayforInfo
|
||
4 years ago
|
}
|
||
|
|
||
|
type BalanceDataJSON struct {
|
||
|
Msg string
|
||
|
Code int
|
||
|
Balance float64
|
||
|
}
|
||
|
|
||
|
type NotifyBankOrderIdListJSON struct {
|
||
|
Msg string
|
||
|
Code int
|
||
|
NotifyIdList []string
|
||
|
}
|
||
|
|
||
|
type ProfitListJSON struct {
|
||
|
TotalAmount float64
|
||
|
PlatformTotalProfit float64
|
||
|
AgentTotalProfit float64
|
||
|
Msg string
|
||
|
Code int
|
||
3 years ago
|
ProfitList []order.PlatformProfit
|
||
4 years ago
|
}
|