You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
530 lines
25 KiB
530 lines
25 KiB
package entity |
|
|
|
type Account struct { |
|
Uid int64 `json:"_id" description:"桃园ID"` |
|
T string `json:"_t" description:"字段名"` |
|
AccountName string `json:"AccountName" description:"账号"` |
|
Password string `json:"Password" description:"密码"` |
|
CreateTime int64 `json:"CreateTime" description:"创建时间"` |
|
AccountType int32 `json:"AccountType" description:"账号类型, 0=正常,1=黑名单,2=GM"` |
|
RealName string `json:"RealName" description:"真实名字"` |
|
Identity string `json:"Identity" description:"身份证号"` |
|
} |
|
|
|
type WarriorInfo struct { |
|
ConfigId int32 `json:"ConfigId" description:"桃园ID"` |
|
} |
|
|
|
type BaseInfo struct { |
|
Uid int64 `json:"_id" description:"桃园ID"` |
|
T string `json:"_t" description:"字段名"` |
|
Prosperity int32 `json:"Prosperity" description:"桃园名字"` |
|
HeadIcon string `json:"HeadIcon" description:"繁荣度"` |
|
LastLoginTime int64 `json:"LastLoginTime" description:"规模等级"` |
|
LastLoginOutTime int64 `json:"LastLoginOutTime" description:"规模等级"` |
|
SessionInstanceId int64 `json:"SessionInstanceId" description:"规模等级"` |
|
WarriorInfos []WarriorInfo `json:"WarriorInfos" description:"礼包码"` |
|
} |
|
|
|
type BazaarGoodsInfo struct { |
|
Amount int32 `json:"Amount" description:"桃园ID"` |
|
AmountMax int32 `json:"AmountMax" description:"桃园ID"` |
|
ItemCfgId int32 `json:"ItemCfgId" description:"桃园ID"` |
|
Price int32 `json:"Price" description:"桃园ID"` |
|
CurrencyType int32 `json:"CurrencyType" description:"true表示元宝(桃花石),false表示铜币"` |
|
BazaarCfgId int32 `json:"BazaarCfgId" description:"BazaarCfgId"` |
|
} |
|
|
|
type Bazaar struct { |
|
Uid int64 `json:"_id" description:"桃园ID"` |
|
T string `json:"_t" description:"字段名"` |
|
Sales []BazaarGoodsInfo `json:"Sales" description:"礼包码"` |
|
Recycles []BazaarGoodsInfo `json:"Recycles" description:"礼包码"` |
|
HighPriceRecycle []BazaarGoodsInfo `json:"HighPriceRecycle" description:"礼包码"` |
|
RefreshTime int64 `json:"RefreshTime" description:"规模等级"` |
|
} |
|
|
|
type Recharge struct { |
|
Uid int64 `json:"_id" description:"桃园ID"` |
|
T string `json:"_t" description:"字段名"` |
|
CreateTime int64 `json:"CreateTime" description:"规模等级"` |
|
CfgId int32 `json:"CfgId" description:"规模等级"` |
|
Rmb int32 `json:"Rmb" description:"规模等级"` |
|
SilverPiece int32 `json:"SilverPiece" description:"规模等级"` |
|
Identity string `json:"Identity" description:"规模等级"` |
|
} |
|
|
|
type ServerInfo struct { |
|
Uid int64 `json:"_id" description:"桃园ID"` |
|
T string `json:"_t" description:"字段名"` |
|
Status int32 `json:"Status" description:"规模等级"` |
|
ServerName string `json:"ServerName" description:"规模等级"` |
|
} |
|
|
|
type RoleInfo struct { |
|
Uid int64 `json:"_id" description:"桃园ID"` |
|
T string `json:"_t" description:"字段名"` |
|
Name string `json:"Name" description:"字段名"` |
|
ServerId int32 `json:"ServerId" description:"规模等级"` |
|
State int32 `json:"State" description:"规模等级"` |
|
AccountId int64 `json:"AccountId" description:"规模等级"` |
|
LastLoginTime int64 `json:"LastLoginTime" description:"规模等级"` |
|
CreateTime int64 `json:"CreateTime" description:"规模等级"` |
|
Gender int32 `json:"Gender" description:"规模等级"` |
|
} |
|
|
|
type ValleyEvent struct { |
|
CfgId int32 `json:"CfgId" description:"allitem表的Id"` |
|
Parms []string `json:"Parms" description:""` |
|
IsRead bool `json:"IsRead" description:""` |
|
TimeStamp int64 `json:"TimeStamp" description:""` |
|
} |
|
|
|
type ValleyHistory struct { |
|
Scale int32 `json:"Scale" description:""` |
|
StructCfgs []int32 `json:"StructCfgs" description:""` |
|
AddNum int32 `json:"AddNum" description:""` |
|
DeadNum int32 `json:"DeadNum" description:""` |
|
} |
|
|
|
type C struct { |
|
Uid int64 `json:"_id" description:""` |
|
T string `json:"_t" description:"字段名"` |
|
|
|
/* WearComponent */ |
|
WearState int32 `json:"WearState" description:""` |
|
HostId int32 `json:"HostId" description:"宿主的ID"` |
|
/* EquipComponent; GemComponent*/ |
|
CfgId int32 `json:"CfgId" description:""` |
|
/* ClothesComponent */ |
|
ConfigId int32 `json:"ConfigId" description:""` |
|
/* GemComponent */ |
|
Attris [][]int32 `json:"Attris" description:"直接加的属性"` |
|
} |
|
|
|
type Children struct { |
|
Uid int64 `json:"_id" description:""` |
|
T string `json:"_t" description:"字段名"` |
|
|
|
C []C `json:"Scale" description:""` |
|
UnitType int32 `json:"AddNum" description:""` |
|
Position Position `json:"Position" description:""` |
|
UnitCamp int32 `json:"DeadNum" description:""` |
|
|
|
/* Gather */ |
|
PeopleIdList []int64 `json:"PeopleIdList" description:""` |
|
ResPointId int64 `json:"ResPointId" description:""` |
|
ResConfigId int32 `json:"ResConfigId" description:""` |
|
PreparePeopleIdList []int64 `json:"PreparePeopleIdList" description:""` |
|
GatherAmount int32 `json:"GatherAmount" description:""` |
|
|
|
/* Poultry */ |
|
CfgId int32 `json:"CfgId" description:""` |
|
Life int32 `json:"Life" description:"天"` |
|
ProduceCd int32 `json:"ProduceCd" description:"上次产蛋时间,鸡用"` |
|
IsHungry bool `json:"IsHungry" description:"是不是饥饿状态"` |
|
Weight int32 `json:"Weight" description:"猪用"` |
|
BuildingId int64 `json:"BuildingId" description:""` |
|
|
|
/* item */ |
|
ConfigId int32 `json:"ConfigId" description:""` |
|
Amount int32 `json:"Amount" description:""` |
|
Region int32 `json:"Region" description:""` |
|
} |
|
|
|
type Component struct { |
|
Uid int64 `json:"_id" description:""` |
|
T string `json:"_t" description:"字段名"` |
|
|
|
/* ValleyComponent */ |
|
Food int32 `json:"Food" description:"基础食物"` |
|
Copper int32 `json:"Copper" description:"铜币"` |
|
GoldIngot int32 `json:"GoldIngot" description:"金币"` |
|
SeasonId int32 `json:"SeasonId" description:"季节表的Id"` |
|
GameTime int64 `json:"GameTime" description:"游戏时间"` |
|
Prosperity int32 `json:"Prosperity" description:"繁荣度"` |
|
Scale int32 `json:"Scale" description:"规模"` |
|
Day int32 `json:"Day" description:"天数"` |
|
Name string `json:"Name" description:"村庄名称"` |
|
Hunger int32 `json:"Hunger" description:"饥饿值"` |
|
WeatherId int32 `json:"WeatherId" description:"用来判断白天黑夜"` |
|
IsNight bool `json:"IsNight" description:"用来判断白天黑夜"` |
|
ChangeNameTimes int32 `json:"ChangeNameTimes" description:"修改桃源名称次数"` |
|
StructHistroy []int32 `json:"StructHistroy" description:"建筑记录"` |
|
HeadIcon string `json:"HeadIcon" description:"头像"` |
|
GuideList []int32 `json:"GuideList" description:"引导"` |
|
BuffCfgIds []int32 `json:"BuffCfgIds" description:"buff"` |
|
OpenSystems []int32 `json:"OpenSystems" description:"开启系统"` |
|
ValleyEvents []ValleyEvent `json:"ValleyEvents" description:"村庄事件"` |
|
Generation int32 `json:"Generation" description:"当前最大的代数"` |
|
ValleyHistorys map[int32]ValleyHistory `json:"ValleyHistroys" description:"规模等级"` |
|
|
|
/* WeatherComponent */ |
|
ConfigId int32 `json:"ConfigId" description:"头像"` |
|
Times int32 `json:"Times" description:"当前季节触发次数"` |
|
StartTime int32 `json:"StartTime" description:"开始时间(游戏时间)"` |
|
Duration int32 `json:"Duration" description:"持续"` |
|
IsWeatherStart bool `json:"IsWeatherStart" description:"1表示天气影响中"` |
|
Cd int32 `json:"Cd" description:""` |
|
WeatherDict [][]interface{} `json:"WeatherDict" description:""` |
|
WeightDict [][]interface{} `json:"WeightDict" description:""` |
|
|
|
/* WeatherComponent;BusinessComponent */ |
|
LastDay int32 `json:"LastDay" description:""` |
|
|
|
/* PoultryManageComponent;RegionGameUnitComponent;GameUnitComponent;MonsterGroupComponent;MonsterManagerComponent;StoreComponent;RegionFogComponent*/ |
|
Children []Children `json:"Children" description:"规模等级"` |
|
|
|
/* GameUnitComponent */ |
|
Comfortable int32 `json:"Comfortable" description:"规模等级"` |
|
|
|
/* DinnerComponent */ |
|
Foods [][]int32 `json:"Foods" description:"主食"` |
|
Cuisines [][]int32 `json:"Cuisines" description:"菜肴"` |
|
Soups [][]int32 `json:"Soups" description:"汤"` |
|
LastFoods [][]int32 `json:"LastFoods" description:"主食"` |
|
LastCuisines [][]int32 `json:"LastCuisines" description:"菜肴"` |
|
LastSoups [][]int32 `json:"LastSoups" description:"汤"` |
|
LastDinnerDay int32 `json:"LastDinnerDay" description:"上次宴会时间"` |
|
Remember int32 `json:"Remember" description:"规模等级"` |
|
LifeExp int32 `json:"LifeExp" description:"寿命经验"` |
|
PhysiqueExp int32 `json:"PhysiqueExp" description:"体质经验"` |
|
|
|
/* CoupleComponent */ |
|
Females []int64 `json:"Females" description:"女性列表"` |
|
Males []int64 `json:"Males" description:"男性列表"` |
|
IsAuto bool `json:"IsAuto" description:"是不是要自动组队"` |
|
|
|
/* ResearchComponent */ |
|
ResearchDic []int32 `json:"ResearchDic" description:"女性列表"` |
|
FininshResearches []int32 `json:"FininshResearches" description:"已经解锁的列表"` |
|
CurrResearchCfgId int32 `json:"CurrResearchCfgId" description:"当前正在研究的"` |
|
BuildId int64 `json:"BuildId" description:""` |
|
ResearchTime int32 `json:"ResearchTime" description:"5秒算一次"` |
|
|
|
/* ResearchComponent;GameTaskComponent */ |
|
UnLockList []int32 `json:"UnLockList" description:"已经解锁的列表"` |
|
|
|
/* GameTaskComponent */ |
|
FinishCfgIds []int32 `json:"FinishCfgIds" description:""` |
|
MainTask GameTask `json:"MainTask" description:""` |
|
BranchTasks []GameTask `json:"BranchTasks" description:""` |
|
CanTakeList []int32 `json:"CanTakeList" description:""` |
|
TalkList []int64 `json:"TalkList" description:""` |
|
Tracks []int32 `json:"Tracks" description:""` |
|
|
|
/* TransportComponent */ |
|
CfgDic interface{} `json:"CfgDic" description:""` |
|
|
|
/* TroopComponent */ |
|
PeopleList []int64 `json:"PeopleList" description:""` |
|
MaxPeopleNum int32 `json:"MaxPeopleNum" description:"队伍最多人数"` |
|
MedicineCd int32 `json:"MedicineCd" description:"使用药品的cd"` |
|
|
|
/* NightEventComponent */ |
|
IsOpen bool `json:"IsOpen" description:""` |
|
NextTime int32 `json:"NextTime" description:"队伍最多人数"` |
|
NightEvents []DailyEvent `json:"NightEvents" description:"使用药品的cd"` |
|
|
|
/* BusinessComponent */ |
|
CreateTime int32 `json:"CreateTime" description:""` |
|
CreateRate int32 `json:"CreateRate" description:""` |
|
IsCreate bool `json:"IsCreate" description:"要不要创建商人"` |
|
ValleyBusinessManCfgId int32 `json:"ValleyBusinessManCfgId" description:"用来产生商人"` |
|
BusinessManId int64 `json:"BusinessManId" description:""` |
|
SaleHistroy interface{} `json:"SaleHistroy" description:""` |
|
|
|
/* DropItemManagerComponent */ |
|
PickingUpDropItemIds []int64 `json:"PickingUpDropItemIds" description:""` |
|
|
|
/* RechargeComponent */ |
|
Identity string `json:"Identity" description:""` |
|
CfgIds []int32 `json:"CfgIds" description:""` |
|
|
|
/* RegionComponent */ |
|
PeopleNumDict interface{} `json:"PeopleNumDict" description:"人口"` |
|
ReputationDict interface{} `json:"ReputationDict" description:"声望值"` |
|
RewardsDict interface{} `json:"RewardsDict" description:"升级奖励"` |
|
RelationLv interface{} `json:"RelationLv" description:"关系等级"` |
|
UnLockRegionList []int32 `json:"UnLockRegionList" description:""` |
|
IsHaveGift bool `json:"IsHaveGift" description:""` |
|
GiftHistroy []int32 `json:"GiftHistroy" description:""` |
|
ShopDayUpdateTime int64 `json:"ShopDayUpdateTime" description:"每天的更新时间"` |
|
ShopWeekUpdateTime int64 `json:"ShopWeekUpdateTime" description:"每周的更新时间"` |
|
ShopMonthUpdateTime int64 `json:"ShopMonthUpdateTime" description:"每月的更新时间"` |
|
ExploreRegionList []int32 `json:"ExploreRegionList" description:""` |
|
|
|
/* TreasureSynthesisComponent */ |
|
Unlocks []int32 `json:"Unlocks" description:""` |
|
|
|
/* MailComponent */ |
|
GroupMailIds []int64 `json:"GroupMailIds" description:"收到过的群邮件的历史记录"` |
|
|
|
/* ChallengeFightingComponent;ChallengeGuardianComponent*/ |
|
FromPortalId int32 `json:"FromPortalId" description:"记录进入挑战的传送点ID"` |
|
|
|
/* ChallengeFightingComponent */ |
|
CurChallengeBossId int64 `json:"CurChallengeBossId" description:""` |
|
DrumTimes int32 `json:"DrumTimes" description:""` |
|
|
|
/* ChallengeGuardianComponent */ |
|
CurChallengeGuardianIds []int64 `json:"CurChallengeGuardianIds" description:""` |
|
|
|
/* FixedPositionSlotComponent */ |
|
FixedPositionSaplingIds []int64 `json:"FixedPositionSaplingIds" description:""` |
|
} |
|
|
|
type ValleyComponent struct { |
|
Uid int64 `json:"_id" description:""` |
|
T string `json:"_t" description:"字段名"` |
|
|
|
/* ValleyComponent */ |
|
Food int32 `json:"Food" description:"基础食物"` |
|
Copper int32 `json:"Copper" description:"铜币"` |
|
GoldIngot int32 `json:"GoldIngot" description:"金币"` |
|
SeasonId int32 `json:"SeasonId" description:"季节表的Id"` |
|
} |
|
|
|
type DailyEvent struct { |
|
CfgId int32 `json:"CfgId" description:""` |
|
GameTime int32 `json:"GameTime" description:""` |
|
Parms interface{} `json:"Parms" description:""` |
|
GameDay int32 `json:"GameDay" description:""` |
|
} |
|
|
|
type GameTask struct { |
|
CfgId int32 `json:"CfgId" description:"当前正在研究的"` |
|
TaskSteps []GameTaskStep `json:"TaskSteps" description:"当前正在研究的"` |
|
State int32 `json:"State" description:"0未接(满足条件),1,可接,2,已接 3.完成"` |
|
} |
|
|
|
type GameTaskStep struct { |
|
CfgId int32 `json:"CfgId" description:"当前正在研究的"` |
|
Progresses []int32 `json:"Progresses" description:"当前正在研究的"` |
|
States []bool `json:"States" description:"每个目标有没有完成"` |
|
} |
|
|
|
type Position struct { |
|
X float64 `json:"x" description:""` |
|
Y float64 `json:"y" description:""` |
|
} |
|
|
|
type GameUnitData struct { |
|
Uid int64 `json:"_id" description:""` |
|
T string `json:"_t" description:"字段名"` |
|
C []PeopleComponent `json:"C" description:""` |
|
UnitType int32 `json:"UnitType" description:""` |
|
Position Position `json:"Position" description:""` |
|
UnitCamp int32 `json:"UnitCamp" description:""` |
|
} |
|
|
|
type PeopleComponent struct { |
|
Uid int64 `json:"_id" description:""` |
|
T string `json:"_t" description:"字段名"` |
|
/* VillagerRecordComponent */ |
|
DisplayState int32 `json:"DisplayState" description:""` |
|
IsDeal bool `json:"IsDeal" description:"是否死亡"` |
|
Generation int32 `json:"Generation" description:"代数"` |
|
JoinDay int32 `json:"JoinDay" description:"成为村民的day"` |
|
EndWordsCfgId int32 `json:"EndWordsCfgId" description:"遗言配置id"` |
|
|
|
//ConfigId int32 `json:"ConfigId" description:"游戏时间"` |
|
/* GameNumericComponent */ |
|
NumericDic []map[int32]int32 `json:"NumericDic" description:""` |
|
|
|
/* PeopleComponent */ |
|
FamilyName string `json:"FamilyName" description:"姓"` |
|
Name string `json:"Name" description:"名"` |
|
CurrSkillId string `json:"CurrSkillId" description:""` |
|
Gender string `json:"Gender" description:"性别 1男,2女"` |
|
PersonalityCfgId string `json:"PersonalityCfgId" description:"性格配置表id"` |
|
|
|
/* BehaveComponent */ |
|
BehaveType int32 `json:"BehaveType" description:"行为类型"` |
|
TargetId int64 `json:"TargetId" description:""` |
|
State int32 `json:"State" description:""` |
|
DayBehaveType int32 `json:"DayBehaveType" description:""` |
|
DayTargetId int64 `json:"DayTargetId" description:""` |
|
DayPos Position `json:"DayPos" description:"白天位置"` |
|
BeforeSleepPos Position `json:"BeforeSleepPos" description:"睡觉前的位置"` |
|
Events []int32 `json:"Events" description:""` |
|
|
|
/* SlotComponent */ |
|
SlotDic []interface{} `json:"SlotDic" description:"有的会按照季节,当季的衣服,包括装备"` |
|
Clothes []interface{} `json:"Clothes" description:"身上所有的衣服"` |
|
Gems []interface{} `json:"Gems" description:"宝石1-4 武器的宝石,5-8护甲的宝石"` |
|
|
|
/* LabourComponent */ |
|
FarmlandIds []int64 `json:"FarmlandIds" description:"有的会按照季节,当季的衣服,包括装备"` |
|
|
|
/* MarriageComponent */ |
|
Parents []int64 `json:"Parents" description:""` |
|
MyChildren []int64 `json:"MyChildren" description:""` |
|
Mates []int64 `json:"Mates" description:"配偶"` |
|
MarriagedState int32 `json:"MarriagedState" description:"是否已经结婚"` |
|
|
|
/* ResidentComponent */ |
|
BedBuildingId int64 `json:"BedBuildingId" description:"居住建筑ID"` |
|
|
|
/* StudyComponent */ |
|
StudyProgress []interface{} `json:"StudyProgress" description:"cfgId,经验"` |
|
|
|
/* SkillComponent */ |
|
PassiveSkillCfgIds []int32 `json:"PassiveSkillCfgIds" description:""` |
|
TalentSkillCfgId int32 `json:"TalentSkillCfgId" description:""` |
|
/* VillagerRecordComponent;SkillComponent */ |
|
Children []C `json:"Children" description:""` |
|
} |
|
|
|
type Skill struct { |
|
Uid int64 `json:"_id" description:"桃园ID"` |
|
T string `json:"_t" description:"字段名"` |
|
ConfigId int32 `json:"ConfigId" description:""` |
|
CoolTime int32 `json:"CoolTime" description:""` |
|
} |
|
|
|
type Buff struct { |
|
Uid int64 `json:"_id" description:"桃园ID"` |
|
T string `json:"_t" description:"字段名"` |
|
Children []interface{} `json:"Children" description:""` |
|
EffectValues []interface{} `json:"EffectValues" description:""` |
|
ConfigId int32 `json:"ConfigId" description:""` |
|
Duration int32 `json:"Duration" description:""` |
|
BuffLayer int32 `json:"BuffLayer" description:""` |
|
SkillCfgId int32 `json:"SkillCfgId" description:""` |
|
Life int32 `json:"Life" description:""` |
|
EffectCdTime int32 `json:"EffectCdTime" description:""` |
|
AtkerId int64 `json:"AtkerId" description:""` |
|
EffectTick int32 `json:"EffectTick" description:""` |
|
} |
|
|
|
type Modifier struct { |
|
Uid int64 `json:"_id" description:"桃园ID"` |
|
T string `json:"_t" description:"字段名"` |
|
Value int32 `json:"Value" description:""` |
|
OneValue int32 `json:"OneValue" description:"单次的数值,这个暂时不用了,目前叠加就先把之前的销毁"` |
|
NumericType int32 `json:"NumericType" description:""` |
|
} |
|
|
|
type MonsterGroup struct { |
|
Uid int64 `json:"_id" description:"桃园ID"` |
|
T string `json:"_t" description:"字段名"` |
|
ConfigId int32 `json:"ConfigId" description:""` |
|
} |
|
|
|
type Menu struct { |
|
Uid int64 `json:"_id" description:"桃园ID"` |
|
T string `json:"_t" description:"字段名"` |
|
ConfigId int32 `json:"ConfigId" description:""` |
|
Proficiency int32 `json:"Proficiency" description:""` |
|
} |
|
|
|
type FogClearArea struct { |
|
Pos Position `json:"Pos" description:""` |
|
Radius float32 `json:"Radius" description:""` |
|
} |
|
|
|
type RegionFogInfo struct { |
|
Uid int64 `json:"_id" description:"桃园ID"` |
|
T string `json:"_t" description:"字段名"` |
|
RegionId int32 `json:"RegionId" description:""` |
|
FogClearAreas []interface{} `json:"FogClearAreas" description:""` |
|
FogLitIds []int32 `json:"FogLitIds" description:"点亮的迷雾圈Id"` |
|
IsAllExplored bool `json:"IsAllExplored" description:"是否全部探索完毕"` |
|
} |
|
|
|
type Unit struct { |
|
Uid int64 `json:"_id" description:"桃园ID"` |
|
T string `json:"_t" description:"字段名"` |
|
C []Component `json:"C" description:"规模等级"` |
|
} |
|
|
|
type UnitValleyComponent struct { |
|
Uid int64 `json:"_id" description:"桃园ID"` |
|
T string `json:"_t" description:"字段名"` |
|
C []ValleyComponent `json:"C" description:"规模等级"` |
|
} |
|
|
|
type Mail struct { |
|
Id interface{} `json:"_id" bson:"_id" description:"邮件ID"` |
|
ServerId []string `json:"serverId" bson:"serverId" description:"服务器ID"` |
|
C_date interface{} `json:"c_date" bson:"c_date" description:"邮件创建时间"` |
|
//To string `json:"to" description:"邮件发送对象"` |
|
From string `json:"from" description:"发送者"` |
|
Type int32 `json:"type" description:"1 奖励,2活动,3公告"` |
|
Expired int64 `json:"expired" description:"过期时间"` |
|
ValidDay int32 `json:"validDay" description:"过期天数"` |
|
Send int32 `json:"send" description:"发送类型,0表示马上发送"` |
|
Time int64 `json:"sendTime" description:"发送时间,0表示马上发送"` |
|
NewGet int32 `json:"newGet" bson:"newGet" description:"新玩家可领取"` |
|
Title string `json:"title" description:"标题"` |
|
//Greetings string `json:"greetings" description:"问候语"` |
|
Content string `json:"content" description:"邮件内容"` |
|
OwnerId string `json:"ownerId" description:"收件人"` |
|
UserName string `json:"userName" description:"操作管理员"` |
|
ErrorData string `json:"errData" bson:"errData" description:"发邮件回调"` |
|
Drops []Drop `json:"drops" bson:"drops" description:"赠送物品"` |
|
} |
|
|
|
type Drop struct { |
|
Id int32 `json:"id" bson:"id"` |
|
Num int32 `json:"num" bson:"num"` |
|
} |
|
|
|
type Order struct { |
|
Account string `json:"account" bson:"account" description:"类型"` |
|
UnitId int64 `json:"unitId" bson:"unitId" description:"账号"` |
|
Channel string `json:"channel" bson:"channel" description:"身份证号"` |
|
Server string `json:"server" bson:"server" description:"身份证号"` |
|
Amount string `json:"amount" bson:"amount" description:"身份证号"` |
|
CreateTime string `json:"CreateTime" bson:"CreateTime" description:"服务器id"` |
|
ExternalCreateTime string `json:"externalCreateTime" bson:"externalCreateTime" description:"服务器id"` |
|
PayTime string `json:"payTime" bson:"payTime" description:"服务器id"` |
|
Config int32 `json:"config" bson:"config" description:"配置表id"` |
|
Status int32 `json:"status" bson:"status" description:"status"` |
|
TradeNo string `json:"tradeNo" bson:"tradeNo" description:"订单ID"` |
|
ExternalTradeNo string `json:"externalTradeNo" bson:"externalTradeNo" description:"商户订单ID"` |
|
|
|
Uid int32 `json:"uid" description:"账号"` |
|
StringId string `json:"stringId" description:"账号ID"` |
|
//State int32 `json:"state" description:"订单状态 3: 金额问题; 8:年龄不足,身份未认证,账号不存在;7:获取账号失败;6:获取订单充值配置失败,订单配置与充值金额不匹配;4:充值达到上限;5:订单验证失败;10:令牌验证失败;1:参数错误,2成功,9:分服http error"` |
|
} |
|
|
|
type OrderCount struct { |
|
ServerId int `json:"serverId"` |
|
StringId string `json:"stringId" description:"id"` |
|
Id int64 `json:"id" bson:"id" description:"id"` |
|
Account string `json:"account" bson:"account" description:"账号"` |
|
Uid int32 `json:"uid" bson:"uid" description:"uid"` |
|
Num int32 `json:"num" bson:"count" description:"充值人数"` |
|
Times int32 `json:"times" bson:"times" description:"充值笔数"` |
|
AllMoney int32 `json:"allMoney" bson:"allMoney" description:"充值金额"` |
|
TotalMoney int32 `json:"totalMoney" bson:"totalRmb" description:"充值金额"` |
|
TotalNum int32 `json:"totalNum" bson:"totalCount" description:"总充值人数"` |
|
TotalTimes int32 `json:"totalTimes" bson:"totalTimes" description:"总充值笔数"` |
|
} |
|
|
|
type Online struct { |
|
ConnectId string `json:"connectId"` |
|
Uid int32 `json:"uid"` |
|
Address string `json:"address"` |
|
LoginTime int64 `json:"loginTime"` |
|
} |
|
|
|
//type AccountInfo struct { |
|
// Account string `json:"account"` |
|
// TrueName string `json:"trueName"` |
|
// IdentityCard string `json:"identityCard"` |
|
// Tel string `json:"tel"` |
|
// LastLeaveTime primitive.DateTime `json:"lastLeaveTime"` |
|
// CreateTime primitive.DateTime `json:"createTime"` |
|
// LeftPlayTime int64 `json:"leftPlayTime"` |
|
// Gm int `json:"gm"` |
|
//} |
|
|
|
type Remain struct { |
|
Date int64 `json:"date"` |
|
RemainRate float32 `json:"remainRate"` |
|
RemainVal int32 `json:"remainVal"` |
|
Total int32 `json:"total"` |
|
}
|
|
|