上传页面工具代码

This commit is contained in:
liwei1dao 2022-08-11 13:43:31 +08:00
parent bc53964894
commit de54c12bac
19 changed files with 584 additions and 317 deletions

BIN
dist.rar

Binary file not shown.

View File

@ -47,8 +47,8 @@ var $root = ($protobuf.roots["default"] || ($protobuf.roots["default"] = new $pr
type: "string",
id: 7
},
headid: {
type: "int32",
avatar: {
type: "string",
id: 8
},
uname: {
@ -144,17 +144,25 @@ var $root = ($protobuf.roots["default"] || ($protobuf.roots["default"] = new $pr
},
ChatSendReq: {
fields: {
channel: {
type: "ChatChannel",
avatar: {
type: "string",
id: 1
},
targetId: {
uname: {
type: "string",
id: 2
},
channel: {
type: "ChatChannel",
id: 3
},
targetId: {
type: "string",
id: 4
},
content: {
type: "string",
id: 3
id: 5
}
}
},
@ -163,13 +171,21 @@ var $root = ($protobuf.roots["default"] || ($protobuf.roots["default"] = new $pr
},
ChatSpanSendReq: {
fields: {
avatar: {
type: "string",
id: 1
},
uname: {
type: "string",
id: 2
},
channel: {
type: "ChatChannel",
id: 1
id: 3
},
content: {
type: "string",
id: 2
id: 4
}
}
},
@ -433,6 +449,7 @@ var $root = ($protobuf.roots["default"] || ($protobuf.roots["default"] = new $pr
UserResetData: 1009,
UserModiNameCount: 1010,
UserNickNameEmpty: 1011,
UserExpandNull: 1012,
FriendNotSelf: 1100,
FriendSelfMax: 1101,
FriendTargetMax: 1102,
@ -473,6 +490,7 @@ var $root = ($protobuf.roots["default"] || ($protobuf.roots["default"] = new $pr
HeroStarLvErr: 1320,
HeroMaxStarLv: 1321,
DrawCardTypeNotFound: 1322,
HeroMaxSkillLv: 1323,
EquipmentOnFoundEquipment: 1400,
EquipmentLvlimitReached: 1401,
EquipmentIsWorn: 1402,
@ -493,6 +511,7 @@ var $root = ($protobuf.roots["default"] || ($protobuf.roots["default"] = new $pr
TaskFinished: 1608,
TaskTagEmpty: 1609,
TaskIdEmpty: 1610,
TaskNotFound: 1611,
ShopGoodsIsSoldOut: 1700,
ShopNoSurplusRefreshNum: 1701,
MailErr: 1800
@ -651,6 +670,312 @@ var $root = ($protobuf.roots["default"] || ($protobuf.roots["default"] = new $pr
}
}
},
CommentState: {
values: {
Release: 0,
Offline: 1
}
},
DBComment: {
fields: {
id: {
type: "string",
id: 1
},
heroid: {
type: "string",
id: 2
},
heroobjid: {
type: "string",
id: 3
},
uid: {
type: "string",
id: 4
},
stage: {
type: "string",
id: 5
},
avatar: {
type: "string",
id: 6
},
uname: {
type: "string",
id: 7
},
state: {
type: "CommentState",
id: 8
},
ctime: {
type: "int64",
id: 9
},
content: {
type: "string",
id: 10
},
starlist: {
type: "int32",
id: 11
}
}
},
ForumGetListReq: {
fields: {
herocid: {
type: "string",
id: 1
}
}
},
ForumGetListResp: {
fields: {
comment: {
rule: "repeated",
type: "DBComment",
id: 1
}
}
},
ForumReleaseCommentReq: {
fields: {
avatar: {
type: "string",
id: 1
},
uname: {
type: "string",
id: 2
},
herocid: {
type: "string",
id: 3
},
herooid: {
type: "string",
id: 4
},
content: {
type: "string",
id: 5
}
}
},
ForumReleaseCommentResp: {
fields: {
comment: {
type: "DBComment",
id: 1
}
}
},
ForumWatchHeroReq: {
fields: {
uid: {
type: "string",
id: 1
},
stag: {
type: "string",
id: 2
},
herocId: {
type: "string",
id: 3
},
herooId: {
type: "string",
id: 4
}
}
},
ForumWatchHeroResp: {
fields: {
hero: {
type: "DBHero",
id: 1
}
}
},
SkillData: {
fields: {
skillID: {
type: "int32",
id: 1
},
skillLv: {
type: "int32",
id: 2
}
}
},
DBHero: {
fields: {
id: {
type: "string",
id: 1
},
uid: {
type: "string",
id: 2
},
heroID: {
type: "string",
id: 3
},
star: {
type: "int32",
id: 4
},
lv: {
type: "int32",
id: 5
},
exp: {
type: "int32",
id: 6
},
juexingLv: {
type: "int32",
id: 7
},
captainSkill: {
type: "int32",
id: 8
},
normalSkill: {
rule: "repeated",
type: "SkillData",
id: 9
},
property: {
keyType: "string",
type: "int32",
id: 10
},
addProperty: {
keyType: "string",
type: "int32",
id: 11
},
cardType: {
type: "int32",
id: 12
},
curSkin: {
type: "int32",
id: 13
},
skins: {
rule: "repeated",
type: "int32",
id: 14
},
block: {
type: "bool",
id: 15
},
equipID: {
rule: "repeated",
type: "string",
id: 16
},
resonateNum: {
type: "int32",
id: 17
},
distributionResonate: {
type: "int32",
id: 18
},
energy: {
keyType: "int32",
type: "int32",
id: 19
},
sameCount: {
type: "int32",
id: 20
},
suiteId: {
type: "int32",
id: 21
},
suiteExtId: {
type: "int32",
id: 22
},
isOverlying: {
type: "bool",
id: 23
},
energyProperty: {
keyType: "string",
type: "int32",
id: 24
}
}
},
Floor: {
fields: {
h4: {
type: "int32",
id: 1
},
h5: {
type: "int32",
id: 2
}
}
},
DBHeroRecord: {
fields: {
id: {
type: "string",
id: 1
},
uid: {
type: "string",
id: 2
},
race0: {
type: "Floor",
id: 3
},
race1: {
type: "Floor",
id: 4
},
race2: {
type: "Floor",
id: 5
},
race3: {
type: "Floor",
id: 6
},
race4: {
type: "Floor",
id: 7
},
triggernum: {
type: "int32",
id: 8
},
activityid: {
type: "int32",
id: 9
},
mtime: {
type: "int64",
id: 10
}
}
},
DBFriend: {
fields: {
uid: {
@ -948,120 +1273,6 @@ var $root = ($protobuf.roots["default"] || ($protobuf.roots["default"] = new $pr
}
}
},
SkillData: {
fields: {
skillID: {
type: "int32",
id: 1
},
skillLv: {
type: "int32",
id: 2
}
}
},
DBHero: {
fields: {
id: {
type: "string",
id: 1
},
uid: {
type: "string",
id: 2
},
heroID: {
type: "string",
id: 3
},
star: {
type: "int32",
id: 4
},
lv: {
type: "int32",
id: 5
},
exp: {
type: "int32",
id: 6
},
juexingLv: {
type: "int32",
id: 7
},
captainSkill: {
type: "int32",
id: 8
},
normalSkill: {
rule: "repeated",
type: "SkillData",
id: 9
},
property: {
keyType: "string",
type: "int32",
id: 10
},
addProperty: {
keyType: "string",
type: "int32",
id: 11
},
cardType: {
type: "int32",
id: 12
},
curSkin: {
type: "int32",
id: 13
},
skins: {
rule: "repeated",
type: "int32",
id: 14
},
block: {
type: "bool",
id: 15
},
equipID: {
rule: "repeated",
type: "string",
id: 16
},
resonateNum: {
type: "int32",
id: 17
},
distributionResonate: {
type: "int32",
id: 18
},
energy: {
keyType: "int32",
type: "int32",
id: 19
},
sameCount: {
type: "int32",
id: 20
},
suiteId: {
type: "int32",
id: 21
},
suiteExtId: {
type: "int32",
id: 22
},
isOverlying: {
type: "bool",
id: 23
}
}
},
HeroInfoReq: {
fields: {
heroId: {
@ -1180,6 +1391,7 @@ var $root = ($protobuf.roots["default"] || ($protobuf.roots["default"] = new $pr
id: 1
},
costCardObj: {
rule: "repeated",
type: "string",
id: 2
}
@ -1623,6 +1835,23 @@ var $root = ($protobuf.roots["default"] || ($protobuf.roots["default"] = new $pr
}
}
},
MailGetAllMailAttachmentReq: {
fields: {}
},
MailGetAllMailAttachmentResp: {
fields: {
res: {
rule: "repeated",
type: "UserAssets",
id: 1
},
ids: {
rule: "repeated",
type: "string",
id: 2
}
}
},
DBMainline: {
fields: {
id: {
@ -2170,7 +2399,7 @@ var $root = ($protobuf.roots["default"] || ($protobuf.roots["default"] = new $pr
id: 5
},
sid: {
type: "int32",
type: "string",
id: 6
},
createip: {
@ -2194,7 +2423,7 @@ var $root = ($protobuf.roots["default"] || ($protobuf.roots["default"] = new $pr
id: 11
},
avatar: {
type: "int32",
type: "string",
id: 12
},
gold: {
@ -2290,7 +2519,7 @@ var $root = ($protobuf.roots["default"] || ($protobuf.roots["default"] = new $pr
id: 1
},
sid: {
type: "int32",
type: "string",
id: 2
}
}
@ -2304,6 +2533,10 @@ var $root = ($protobuf.roots["default"] || ($protobuf.roots["default"] = new $pr
ex: {
type: "DBUserExpand",
id: 2
},
timeNow: {
type: "int64",
id: 3
}
}
},
@ -2320,7 +2553,7 @@ var $root = ($protobuf.roots["default"] || ($protobuf.roots["default"] = new $pr
id: 1
},
sid: {
type: "int32",
type: "string",
id: 2
}
}
@ -2700,62 +2933,6 @@ var $root = ($protobuf.roots["default"] || ($protobuf.roots["default"] = new $pr
id: 13
}
}
},
Floor: {
fields: {
h4: {
type: "int32",
id: 1
},
h5: {
type: "int32",
id: 2
}
}
},
DBUserRecord: {
fields: {
id: {
type: "string",
id: 1
},
uid: {
type: "string",
id: 2
},
race0: {
type: "Floor",
id: 3
},
race1: {
type: "Floor",
id: 4
},
race2: {
type: "Floor",
id: 5
},
race3: {
type: "Floor",
id: 6
},
race4: {
type: "Floor",
id: 7
},
triggernum: {
type: "int32",
id: 8
},
activityid: {
type: "int32",
id: 9
},
mtime: {
type: "int64",
id: 10
}
}
}
});

View File

@ -2,24 +2,24 @@ syntax = "proto3";
option go_package = ".;pb";
enum ChatChannel {
World = 0; //
Union = 1; //
Private = 2; //
CrossServer = 3; //
System = 4; //
World = 0; //
Union = 1; //
Private = 2; //
CrossServer = 3; //
System = 4; //
}
message DBChat {
string id =1; //id
ChatChannel channel = 2; //
string suid =3; //id
string ruid = 4; //id channel == Private
int32 groud = 5; // id
int32 areaId = 6; // Id
string unionId = 7; //id
int32 headid = 8; //
string uname = 9; //
string content = 10; //
int64 ctime = 11; //
string id = 1; //id
ChatChannel channel = 2; //
string suid = 3; //id
int32 slv = 4; //
string ruid = 5; //id channel == Private
int32 channelId = 6; // Id
string unionId = 7; //id
string stag = 8; //id
string avatar = 9; //
string uname = 10; //
string content = 11; //
int64 ctime = 12; //
}

View File

@ -21,31 +21,23 @@ message ChatChanageChannelResp {
//
message ChatGetListReq {
ChatChannel channel = 1; //
int32 channelId = 2; //id
}
//
message ChatGetListResp { repeated DBChat chats = 1; }
//
message ChatSpanGetListReq {
ChatChannel channel = 1; //
int32 channelId = 2; //id
}
//
message ChatSpanGetListResp { repeated DBChat chats = 1; }
//
message ChatSendReq {
ChatChannel channel = 1; //
string targetId = 2; //id
string content = 3; //
string avatar = 1; //
string uname = 2; //
int32 ulv = 3; //
ChatChannel channel = 4; //
string targetId = 5; //id
string content = 6; //
}
//
message ChatSendResp {}
//
message ChatSpanSendReq {
ChatChannel channel = 1; //
string content = 2; //
//
message ChatSendResp {
bool issucc = 1; //
}
//
message ChatSpanSendResp {}

View File

@ -3,36 +3,37 @@ option go_package = ".;pb";
import "equipment_db.proto";
//
message EquipmentGetListReq {}
message EquipmentGetListReq {
}
//
message EquipmentGetListResp {
repeated DB_Equipment Equipments = 1; //
repeated DB_Equipment Equipments = 1; //
}
//
message EquipmentChangePush {
repeated DB_Equipment Equipments = 1; //
repeated DB_Equipment Equipments = 1; //
}
//
message EquipmentEquipReq {
string HeroCardId = 1; //Id
repeated string EquipmentId = 2; //Id 0-5
message EquipmentEquipReq{
string HeroCardId = 1; //Id
repeated string EquipmentId = 2; //Id 0-5
}
//
message EquipmentEquipResp {
repeated DB_Equipment Equipments = 1; //
message EquipmentEquipResp{
repeated DB_Equipment Equipments = 1; //
}
//
message EquipmentUpgradeReq {
string EquipmentId = 1; //Id
message EquipmentUpgradeReq{
string EquipmentId = 1; //Id
}
//
message EquipmentUpgradeResp {
bool IsSucc = 1;
repeated DB_Equipment Equipment =
2; //
message EquipmentUpgradeResp{
bool IsSucc = 1;
repeated DB_Equipment Equipment = 2; //
}

View File

@ -39,6 +39,7 @@ enum ErrorCode {
UserResetData = 1009; //
UserModiNameCount = 1010; //
UserNickNameEmpty = 1011; //
UserExpandNull = 1012; //
// friend
FriendNotSelf = 1100; //
@ -85,6 +86,7 @@ enum ErrorCode {
HeroStarLvErr = 1320; //
HeroMaxStarLv = 1321; //
DrawCardTypeNotFound = 1322; //
HeroMaxSkillLv = 1323; //
// equipment
EquipmentOnFoundEquipment = 1400; //
@ -111,6 +113,7 @@ enum ErrorCode {
TaskFinished = 1608; //
TaskTagEmpty = 1609; //
TaskIdEmpty = 1610; //ID空
TaskNotFound = 1611; //
// shop
ShopGoodsIsSoldOut = 1700; //

View File

@ -1,3 +1,24 @@
syntax = "proto3";
option go_package = ".;pb";
enum CommentState {
Release = 0; //
Offline = 1; //
}
//
message DBComment {
string id =1; //id
string heroid = 2; //id
string heroobjid = 3; //id
string uid =4; //id
string stage =5; //id
string avatar = 6; //
string uname = 7; //
CommentState state = 8; //
int64 ctime = 9; //
string content = 10; //
int32 starlist = 11; //
}

View File

@ -1,2 +1,39 @@
syntax = "proto3";
option go_package = ".;pb";
option go_package = ".;pb";
import "forum_db.proto";
import "hero_db.proto";
//
message ForumGetListReq {
string herocid = 1; //id
}
//
message ForumGetListResp {
repeated DBComment comment = 1;
}
//
message ForumReleaseCommentReq {
string avatar = 1; //
string uname = 2; //
string herocid = 3; //id
string herooid = 4; //id
string content = 5; //
}
//
message ForumReleaseCommentResp {
DBComment comment = 1;
}
//
message ForumWatchHeroReq {
string uid = 1; //id
string stag = 2; //id
string herocId = 3; //cid
string herooId = 4; //id
}
//
message ForumWatchHeroResp {
DBHero hero = 1;
}

View File

@ -30,5 +30,24 @@ message DBHero {
int32 suiteId = 21; //@go_tags(`bson:"suiteId"`) Id
int32 suiteExtId = 22; // go_tags(`bson:"suiteExtId"`) Id
bool isOverlying = 23; // go_tags(`bson:"isOverlying"`) true
//map<string, int32> energyProperty = 24; //@go_tags(`bson:"energyProperty"`)
map<string, int32> energyProperty = 24; //@go_tags(`bson:"energyProperty"`)
}
message Floor{ //
int32 h4 = 1; // 4
int32 h5 = 2; // 5
}
//
message DBHeroRecord {
string id = 1; //@go_tags(`bson:"_id"`) ID id
string uid = 2; //@go_tags(`bson:"uid"`) ID
Floor race0 = 3; //
Floor race1 = 4; // 1
Floor race2 = 5; // 2
Floor race3 = 6; // 3
Floor race4 = 7; // 4
int32 triggernum = 8; //
int32 activityid = 9; // id
int64 mtime = 10; //
}

View File

@ -57,7 +57,7 @@ message HeroStrengthenUpStarResp {
//
message HeroStrengthenUpSkillReq {
string heroObjID = 1; // ID
string costCardObj = 2; //
repeated string costCardObj = 2; //
}
//
@ -131,9 +131,9 @@ message HeroLockResp {
//
message HeroGetSpecifiedReq {
string heroCoinfigID = 1; // ID
int32 Amount = 2; //
int32 star = 3; //
int32 lv = 4; //
int32 Amount = 2; //
int32 star = 3; //
int32 lv = 4; //
}
message HeroGetSpecifiedResp {
@ -141,13 +141,15 @@ message HeroGetSpecifiedResp {
}
//
message HeroDrawCardReq {
message HeroDrawCardReq {
int32 drawType = 1; // drawCardCost表
}
message HeroDrawCardResp {
repeated string heroes = 1; // configID
message HeroDrawCardResp {
repeated string heroes = 1; // configID
}
//
message HeroChangePush { repeated DBHero list = 1; }
message HeroChangePush{
repeated DBHero list = 1;
}

View File

@ -4,43 +4,43 @@ import "items_db.proto";
//
message ItemsGetlistReq {
int32 IType = 1; //
int32 IType = 1; //
}
//
message ItemsGetlistResp {
repeated DB_UserItemData Grids = 1; //
repeated DB_UserItemData Grids = 1; //
}
//
message ItemsChangePush {
repeated DB_UserItemData Grids = 1; //
repeated DB_UserItemData Grids = 1; //
}
//使
message ItemsUseItemReq {
string GridId = 1; //Id
uint32 Amount = 2; //使
int32 Select = 3; //
string GridId = 1; //Id
uint32 Amount = 2; //使
int32 Select = 3; //
}
//使
message ItemsUseItemResp {
string GridId = 1; //Id
uint32 Amount = 2; //使
bool issucc = 3; //
string GridId = 1; //Id
uint32 Amount = 2; //使
bool issucc = 3; //
}
//sailitem
message ItemsSellItemReq {
string GridId = 1; //Id
string ItemId = 2; //Id
uint32 Amount = 3; //使
string GridId = 1; //Id
string ItemId = 2; //Id
uint32 Amount = 3; //使
}
//
message ItemsSellItemResp {
string GridId = 1; //Id
uint32 Amount = 2; //使
bool issucc = 3; //
string GridId = 1; //Id
uint32 Amount = 2; //使
bool issucc = 3; //
}

View File

@ -1,30 +1,54 @@
syntax = "proto3";
option go_package = ".;pb";
import "mail_db.proto";
import "comm.proto";
message MailGetListReq {}
message MailGetListReq {
}
//
message MailGetListResp { repeated DBMailData Mails = 1; }
message MailGetListResp {
repeated DBMailData Mails = 1;
}
//
message MailReadMailReq { string ObjID = 1; }
message MailReadMailReq {
string ObjID = 1;
}
message MailReadMailResp { DBMailData Mail = 1; }
message MailReadMailResp {
DBMailData Mail = 1;
}
//
message MailGetUserMailAttachmentReq { string ObjID = 1; }
message MailGetUserMailAttachmentReq {
string ObjID = 1;
}
message MailGetUserMailAttachmentResp { DBMailData Mail = 1; }
message MailGetUserMailAttachmentResp {
DBMailData Mail = 1;
}
//
message MailDelMailReq { string ObjID = 1; }
message MailDelMailReq {
string ObjID = 1;
}
message MailDelMailResp {
string ObjID = 1; // id
string ObjID = 1; // id
}
//
message MailGetNewMailPush {
DBMailData Mail = 1; //
message MailGetNewMailPush{
DBMailData Mail = 1; //
}
//
message MailGetAllMailAttachmentReq {
}
message MailGetAllMailAttachmentResp {
repeated UserAssets res = 1; //
repeated string ids = 2; // id
}

View File

@ -3,28 +3,34 @@ option go_package = ".;pb";
import "mainline_db.proto";
//
message MainlineGetListReq {}
message MainlineGetListReq {
}
//
message MainlineGetListResp { repeated DBMainline data = 1; }
message MainlineGetListResp {
repeated DBMainline data = 1;
}
//
message MainlineGetRewardReq {
string chapterObj = 1; // id
string chapterObj = 1; // id
}
message MainlineGetRewardResp {
DBMainline data = 1; //
DBMainline data = 1; //
}
//
message MainlineChallengeReq {
string chapterObj = 1; // id
uint32 mainlineId = 2; // ID
string chapterObj = 1; // id
uint32 mainlineId = 2; // ID
}
message MainlineChallengeResp {
DBMainline data = 1; //
DBMainline data = 1; //
}
//
message MainlineNewChapterPush { DBMainline data = 1; }
message MainlineNewChapterPush{
DBMainline data = 1;
}

View File

@ -1,39 +1,40 @@
syntax = "proto3";
option go_package = ".;pb";
import "shop_db.proto";
import "shop/shop_db.proto";
import "comm.proto";
//
message ShopItem {
int32 GoodsId = 1; //Id
repeated UserAssets Items = 2; //
repeated UserAssets Consume = 3; //
int32 Sale = 4; //
int32 LeftBuyNum = 5; //
int32 GoodsId = 1; //Id
repeated UserAssets Items = 2; //
repeated UserAssets Consume = 3; //
int32 Sale = 4; //
int32 LeftBuyNum = 5; //
}
//
message ShopGetListReq {
ShopType sType = 1; //
bool IsManualRefresh = 2; //
ShopType sType = 1; //
bool IsManualRefresh = 2; //
}
//
message ShopGetListResp {
ShopType sType = 1; //
bool IsManualRefresh = 2; //
repeated ShopItem Goods = 4; //
int32 SurplusRefreshNum = 5; //
ShopType sType = 1; //
bool IsManualRefresh = 2; //
repeated ShopItem Goods = 4; //
int32 SurplusRefreshNum = 5; //
}
//
message ShopBuyReq {
ShopType ShopType = 1; //
int32 GoodsId = 2; //Id
int32 BuyNum = 3; //
ShopType ShopType = 1; //
int32 GoodsId = 2; //Id
int32 BuyNum = 3; //
}
//
message ShopBuyResp {
bool IsSucc = 1; //
bool IsSucc = 1; //
}

View File

@ -46,4 +46,6 @@ message TaskDoStrategyResp {
}
//
message TaskFinishedPush { int32 taskId = 1; }
message TaskFinishedPush {
int32 taskId = 1;
}

View File

@ -15,13 +15,13 @@ message DBUser {
string uuid = 3; //@go_tags(`bson:"uuid"`) uuid
string binduid = 4; //@go_tags(`bson:"binduid"`)
string name = 5; //@go_tags(`bson:"name"`)
int32 sid = 6; //@go_tags(`bson:"sid"`) id
string sid = 6; //@go_tags(`bson:"sid"`) id
string createip = 7; //@go_tags(`bson:"createip"`) ip
string lastloginip = 8; //@go_tags(`bson:"lastloginip"`) ip
int64 ctime = 9; //@go_tags(`bson:"ctime"`)
int64 logintime = 10; //@go_tags(`bson:"logintime"`)
int32 friendPoint = 11; //@go_tags(`bson:"friendPoint"`)
int32 avatar = 12; //@go_tags(`bson:"avatar"`)
string avatar = 12; //@go_tags(`bson:"avatar"`)
int32 gold = 13; //@go_tags(`bson:"gold"`)
int32 exp = 14; //@go_tags(`bson:"exp"`)
bool created = 15; //@go_tags(`bson:"created"`)

View File

@ -8,12 +8,13 @@ import "userexpand.proto";
//
message UserLoginReq {
string account = 1; //
int32 sid = 2; //
string sid = 2; //
}
message UserLoginResp {
DBUser data = 1;
DBUserExpand ex = 2; //
int64 timeNow = 3; //
}
//
@ -24,7 +25,7 @@ message UserLogoutResp {}
//
message UserRegisterReq {
string account = 1;
int32 sid = 2;
string sid = 2;
}
message UserRegisterResp {

View File

@ -1,21 +0,0 @@
syntax = "proto3";
option go_package = ".;pb";
message Floor{ //
int32 h4 = 1; // 4
int32 h5 = 2; // 5
}
//
message DBUserRecord {
string id = 1; //@go_tags(`bson:"_id"`) ID id
string uid = 2; //@go_tags(`bson:"uid"`) ID
Floor race0 = 3; //
Floor race1 = 4; // 1
Floor race2 = 5; // 2
Floor race3 = 6; // 3
Floor race4 = 7; // 4
int32 triggernum = 8; //
int32 activityid = 9; // id
int64 mtime = 10; //
}

View File

@ -214,6 +214,8 @@ export default defineComponent({
{ mainType: 'stak', subs: [] },
{ mainType: 'mainline', subs: [] },
{ mainType: 'chat', subs: [] },
{ mainType: 'gm', subs: [] },
{ mainType: 'forum', subs: [] },
])
for (const v of Object.keys(proto)) {
for (const v1 of proto_models) {