Initial commit
This commit is contained in:
@@ -0,0 +1,76 @@
|
||||
package proto
|
||||
|
||||
import (
|
||||
"time"
|
||||
)
|
||||
|
||||
type TgMsgType int32
|
||||
|
||||
const (
|
||||
TgMsgTypeNone TgMsgType = 0
|
||||
TgMsgTypeBackendRechargeMonitor TgMsgType = 1 // 后台充值监控
|
||||
)
|
||||
|
||||
type SendTgMessageReq struct {
|
||||
AppId int32 `json:"appId"`
|
||||
MsgType TgMsgType `json:"msgType"`
|
||||
Message string `json:"message"`
|
||||
}
|
||||
|
||||
type SendTgMessageRes struct {
|
||||
}
|
||||
|
||||
// InnerRechargeReq
|
||||
type InnerRechargeReq struct {
|
||||
InnerId int32 `json:"innerId"`
|
||||
Begin time.Time `json:"begin"`
|
||||
End time.Time `json:"end"`
|
||||
}
|
||||
|
||||
// InnerRechargeReq
|
||||
type InnerRechargeBotcmdReq struct {
|
||||
InnerId int32 `json:"innerId"`
|
||||
BeginTime time.Time `json:"beginTime"`
|
||||
EndTime time.Time `json:"endTime"`
|
||||
}
|
||||
|
||||
type InnerDailyMap struct {
|
||||
Id string `json:"id"`
|
||||
List []*InnerDailyRecharge `json:"list"`
|
||||
}
|
||||
type InnerDailyRecharge struct {
|
||||
AppId int32 `json:"appId"`
|
||||
Name string `json:"name"`
|
||||
Type string `json:"type"`
|
||||
DateTime string `json:"dateTime"`
|
||||
SumDate time.Time `json:"sumDate"`
|
||||
DailyVistCount int64 `json:"dailyVistCount"`
|
||||
DailyRegister int64 `json:"dailyRegister"`
|
||||
DailyAppAmount int64 `json:"dailyAppAmount"`
|
||||
DailyGameAmount int64 `json:"dailyGameAmount"`
|
||||
RechargeOrder int64 `json:"rechargeOrder"`
|
||||
CellType int64 `json:"cellType"`
|
||||
IsOld bool `json:"isOld"`
|
||||
BeginRow int `json:"beginRow"`
|
||||
BeginCol int `json:"beginCol"`
|
||||
}
|
||||
|
||||
type InnerDailyRechargeList struct {
|
||||
List []*InnerDailyRecharge `json:"List"`
|
||||
}
|
||||
|
||||
type InnerDailyRechargeResp struct {
|
||||
Code int32 `json:"code"`
|
||||
Msg string `json:"msg"`
|
||||
Tip string `json:"tip"`
|
||||
Data InnerDailyRechargeList `json:"data"`
|
||||
Time time.Time `json:"time"`
|
||||
}
|
||||
|
||||
/*
|
||||
type InnerRechargeXlsl struct {
|
||||
BeginRow int `json:"beginRow"`
|
||||
BeginCol int `json:"beginCol"`
|
||||
Recharge *InnerDailyRecharge `json:"recharge"`
|
||||
}
|
||||
*/
|
||||
Reference in New Issue
Block a user