上传vue代码

This commit is contained in:
liwei1dao 2022-07-26 13:56:02 +08:00
parent 72a0d957eb
commit 9067cbbf32
18 changed files with 406 additions and 116 deletions

BIN
dist.rar

Binary file not shown.

View File

@ -486,7 +486,8 @@ var $root = ($protobuf.roots["default"] || ($protobuf.roots["default"] = new $pr
TaskActiveNoenough: 1606, TaskActiveNoenough: 1606,
TaskNoFinished: 1607, TaskNoFinished: 1607,
TaskFinished: 1608, TaskFinished: 1608,
ShopGoodsIsSoldOut: 1700 ShopGoodsIsSoldOut: 1700,
ShopNoSurplusRefreshNum: 1701
} }
}, },
google: { google: {
@ -1876,10 +1877,22 @@ var $root = ($protobuf.roots["default"] || ($protobuf.roots["default"] = new $pr
}, },
ShopGetListResp: { ShopGetListResp: {
fields: { fields: {
sType: {
type: "ShopType",
id: 1
},
IsManualRefresh: {
type: "bool",
id: 2
},
Goods: { Goods: {
rule: "repeated", rule: "repeated",
type: "ShopItem", type: "ShopItem",
id: 1 id: 4
},
SurplusRefreshNum: {
type: "int32",
id: 5
} }
} }
}, },
@ -1940,6 +1953,10 @@ var $root = ($protobuf.roots["default"] || ($protobuf.roots["default"] = new $pr
typeId: { typeId: {
type: "int32", type: "int32",
id: 9 id: 9
},
sort: {
type: "int32",
id: 10
} }
} }
}, },
@ -2372,7 +2389,12 @@ var $root = ($protobuf.roots["default"] || ($protobuf.roots["default"] = new $pr
} }
}, },
UserUpdateSettingResp: { UserUpdateSettingResp: {
fields: {} fields: {
uid: {
type: "string",
id: 1
}
}
}, },
UserVeriCodeReq: { UserVeriCodeReq: {
fields: {} fields: {}
@ -2394,7 +2416,12 @@ var $root = ($protobuf.roots["default"] || ($protobuf.roots["default"] = new $pr
} }
}, },
UserInitdataResp: { UserInitdataResp: {
fields: {} fields: {
uid: {
type: "string",
id: 1
}
}
}, },
UserModifynameReq: { UserModifynameReq: {
fields: { fields: {
@ -2428,6 +2455,146 @@ var $root = ($protobuf.roots["default"] || ($protobuf.roots["default"] = new $pr
} }
} }
}, },
UserChangedPush: {
fields: {
uid: {
type: "string",
id: 1
},
exp: {
type: "int32",
id: 2
},
lv: {
type: "int32",
id: 3
}
}
},
UserFigureReq: {
fields: {
preinstall: {
type: "int32",
id: 1
},
action: {
type: "int32",
id: 2
},
hair: {
type: "Hair",
id: 3
},
eyes: {
type: "Eyes",
id: 4
},
mouth: {
type: "Mouth",
id: 5
},
body: {
type: "Body",
id: 6
},
complexion: {
type: "Complexion",
id: 7
}
}
},
UserFigureResp: {
fields: {
uid: {
type: "string",
id: 1
},
action: {
type: "int32",
id: 2
},
figure: {
type: "Figure",
id: 3
}
}
},
Hair: {
fields: {
resId: {
type: "int32",
id: 1
},
color: {
type: "string",
id: 2
}
}
},
Eyes: {
fields: {
resId: {
type: "int32",
id: 1
},
color: {
type: "string",
id: 2
}
}
},
Mouth: {
fields: {
resId: {
type: "string",
id: 1
}
}
},
Body: {
fields: {
high: {
type: "int32",
id: 1
},
shape: {
type: "int32",
id: 2
}
}
},
Complexion: {
fields: {
color: {
type: "string",
id: 1
}
}
},
Figure: {
fields: {
hair: {
type: "Hair",
id: 1
},
eyes: {
type: "Eyes",
id: 2
},
mouth: {
type: "Mouth",
id: 3
},
body: {
type: "Body",
id: 4
},
complexion: {
type: "Complexion",
id: 5
}
}
},
DBUserExpand: { DBUserExpand: {
fields: { fields: {
id: { id: {
@ -2462,6 +2629,15 @@ var $root = ($protobuf.roots["default"] || ($protobuf.roots["default"] = new $pr
keyType: "string", keyType: "string",
type: "bool", type: "bool",
id: 8 id: 8
},
curFigure: {
type: "int32",
id: 9
},
preinstall: {
keyType: "int32",
type: "Figure",
id: 10
} }
} }
}, },

View File

@ -1,17 +1,25 @@
syntax = "proto3"; syntax = "proto3";
option go_package = ".;pb"; option go_package = ".;pb";
import "chat_db.proto"; import "chat/chat_db.proto";
// //
message ChatMessagePush { DBChat chat = 1; } message ChatMessagePush{
DBChat chat = 1;
}
// //
message ChatCrossChannelReq {} message ChatCrossChannelReq {
}
// //
message ChatCrossChannelResp { int32 channelId = 1; } message ChatCrossChannelResp {
int32 channelId = 1;
}
// //
message ChatChanageChannelReq { int32 channelId = 1; } message ChatChanageChannelReq {
int32 channelId = 1;
}
// //
message ChatChanageChannelResp { message ChatChanageChannelResp {
int32 channelId = 1; int32 channelId = 1;
@ -23,7 +31,10 @@ message ChatGetListReq {
ChatChannel channel = 1; // ChatChannel channel = 1; //
} }
// //
message ChatGetListResp { repeated DBChat chats = 1; } message ChatGetListResp {
repeated DBChat chats = 1;
}
// //
message ChatSpanGetListReq { message ChatSpanGetListReq {
@ -31,7 +42,9 @@ message ChatSpanGetListReq {
int32 channelId = 2; //id int32 channelId = 2; //id
} }
// //
message ChatSpanGetListResp { repeated DBChat chats = 1; } message ChatSpanGetListResp {
repeated DBChat chats = 1;
}
// //
message ChatSendReq { message ChatSendReq {
@ -40,7 +53,10 @@ message ChatSendReq {
string content = 3; // string content = 3; //
} }
// //
message ChatSendResp {} message ChatSendResp {
}
// //
message ChatSpanSendReq { message ChatSpanSendReq {
@ -48,4 +64,7 @@ message ChatSpanSendReq {
string content = 2; // string content = 2; //
} }
// //
message ChatSpanSendResp {} message ChatSpanSendResp {
}

View File

@ -3,7 +3,7 @@ option go_package = ".;pb";
import "errorcode.proto"; import "errorcode.proto";
import "google/protobuf/any.proto"; import "google/protobuf/any.proto";
// //1
message UserMessage { message UserMessage {
string MainType = 1; // :user user的模块 string MainType = 1; // :user user的模块
string SubType = 2; // :login user的模块中 string SubType = 2; // :login user的模块中

View File

@ -1,9 +1,11 @@
syntax = "proto3"; syntax = "proto3";
option go_package = ".;pb"; option go_package = ".;pb";
import "equipment_db.proto"; import "equipment/equipment_db.proto";
// //
message EquipmentGetListReq {} message EquipmentGetListReq {
}
// //
message EquipmentGetListResp { message EquipmentGetListResp {
repeated DB_Equipment Equipments = 1; // repeated DB_Equipment Equipments = 1; //
@ -33,6 +35,5 @@ message EquipmentUpgradeReq {
// //
message EquipmentUpgradeResp{ message EquipmentUpgradeResp{
bool IsSucc = 1; bool IsSucc = 1;
repeated DB_Equipment Equipment = repeated DB_Equipment Equipment = 2; //
2; //
} }

View File

@ -106,4 +106,5 @@ enum ErrorCode {
// shop // shop
ShopGoodsIsSoldOut = 1700; // ShopGoodsIsSoldOut = 1700; //
ShopNoSurplusRefreshNum = 1701; //
} }

View File

@ -1,6 +1,6 @@
syntax = "proto3"; syntax = "proto3";
option go_package = ".;pb"; option go_package = ".;pb";
import "hero_db.proto"; import "hero/hero_db.proto";
// //
message HeroInfoReq { message HeroInfoReq {
@ -150,4 +150,6 @@ message HeroDrawCardResp {
} }
// //
message HeroChangePush { repeated DBHero list = 1; } message HeroChangePush{
repeated DBHero list = 1;
}

View File

@ -1,6 +1,6 @@
syntax = "proto3"; syntax = "proto3";
option go_package = ".;pb"; option go_package = ".;pb";
import "items_db.proto"; import "items/items_db.proto";
// //
message ItemsGetlistReq { message ItemsGetlistReq {

View File

@ -1,24 +1,38 @@
syntax = "proto3"; syntax = "proto3";
option go_package = ".;pb"; option go_package = ".;pb";
import "mail_db.proto"; import "mail/mail_db.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 { message MailDelMailResp {
string ObjID = 1; // id string ObjID = 1; // id

View File

@ -1,11 +1,15 @@
syntax = "proto3"; syntax = "proto3";
option go_package = ".;pb"; option go_package = ".;pb";
import "mainline_db.proto"; import "mainline/mainline_db.proto";
// //
message MainlineGetListReq {} message MainlineGetListReq {
}
// //
message MainlineGetListResp { repeated DBMainline data = 1; } message MainlineGetListResp {
repeated DBMainline data = 1;
}
// //
message MainlineGetRewardReq { message MainlineGetRewardReq {
@ -27,4 +31,6 @@ message MainlineChallengeResp {
} }
// //
message MainlineNewChapterPush { DBMainline data = 1; } message MainlineNewChapterPush{
DBMainline data = 1;
}

View File

@ -1,7 +1,7 @@
syntax = "proto3"; syntax = "proto3";
option go_package = ".;pb"; option go_package = ".;pb";
import "errorcode.proto"; import "errorcode.proto";
import "notify_db.proto"; import "notify/notify_db.proto";
import "google/protobuf/any.proto"; import "google/protobuf/any.proto";
// //

BIN
src/pb/proto/protoc.exe Normal file

Binary file not shown.

View File

@ -1,8 +1,9 @@
syntax = "proto3"; syntax = "proto3";
option go_package = ".;pb"; option go_package = ".;pb";
import "shop_db.proto"; import "shop/shop_db.proto";
import "comm.proto"; import "comm.proto";
// //
message ShopItem { message ShopItem {
int32 GoodsId = 1; //Id int32 GoodsId = 1; //Id
@ -20,7 +21,10 @@ message ShopGetListReq {
// //
message ShopGetListResp { message ShopGetListResp {
repeated ShopItem Goods = 1; // ShopType sType = 1; //
bool IsManualRefresh = 2; //
repeated ShopItem Goods = 4; //
int32 SurplusRefreshNum = 5; //
} }
// //

View File

@ -11,6 +11,7 @@ message DBTask {
int32 status = 7; //@go_tags(`bson:"status"`) 0 1 int32 status = 7; //@go_tags(`bson:"status"`) 0 1
int32 received = 8; //@go_tags(`bson:"received"`) 0 1 int32 received = 8; //@go_tags(`bson:"received"`) 0 1
int32 typeId = 9; //@go_tags(`bson:"typeId"`) int32 typeId = 9; //@go_tags(`bson:"typeId"`)
int32 sort = 10; //@go_tags(`bson:"sort"`)
} }
message DBTaskActive { message DBTaskActive {

View File

@ -1,6 +1,6 @@
syntax = "proto3"; syntax = "proto3";
option go_package = ".;pb"; option go_package = ".;pb";
import "task_db.proto"; import "task/task_db.proto";
// //
message TaskReceiveReq { message TaskReceiveReq {
@ -46,4 +46,6 @@ message TaskDoStrategyResp {
} }
// //
message TaskFinishedPush { int32 taskId = 1; } message TaskFinishedPush {
int32 taskId = 1;
}

View File

@ -5,8 +5,7 @@ message CacheUser {
string uid = 1; //@go_tags(`json:"uid"`) id string uid = 1; //@go_tags(`json:"uid"`) id
string SessionId = 2; //@go_tags(`json:"sessionId"`) id string SessionId = 2; //@go_tags(`json:"sessionId"`) id
string ServiceTag = 3; //@go_tags(`json:"serviceTag"`) id string ServiceTag = 3; //@go_tags(`json:"serviceTag"`) id
string GatewayServiceId = string GatewayServiceId = 4; //@go_tags(`json:"gatewayServiceId"`) id
4; //@go_tags(`json:"gatewayServiceId"`) id
string ip = 5; //@go_tags(`json:"ip"`) ip string ip = 5; //@go_tags(`json:"ip"`) ip
} }

View File

@ -1,7 +1,7 @@
syntax = "proto3"; syntax = "proto3";
option go_package = ".;pb"; option go_package = ".;pb";
import "errorcode.proto"; import "errorcode.proto";
import "user_db.proto"; import "user/user_db.proto";
import "comm.proto"; import "comm.proto";
import "userexpand.proto"; import "userexpand.proto";
@ -39,7 +39,9 @@ message UserCreateReq {
string NickName = 1; // string NickName = 1; //
} }
message UserCreateResp { bool IsSucc = 1; } message UserCreateResp {
bool IsSucc = 1;
}
// //
message UserAddResReq { message UserAddResReq {
@ -68,7 +70,7 @@ message UserGetSettingResp {
// //
message UserUpdateSettingReq { DBUserSetting setting = 1; } message UserUpdateSettingReq { DBUserSetting setting = 1; }
message UserUpdateSettingResp {} message UserUpdateSettingResp { string uid = 1; }
// //
message UserVeriCodeReq {} message UserVeriCodeReq {}
@ -80,7 +82,7 @@ message UserVeriCodeResp {
message UserInitdataReq { message UserInitdataReq {
int32 code = 1; // int32 code = 1; //
} }
message UserInitdataResp {} message UserInitdataResp { string uid = 1; }
// //
message UserModifynameReq { message UserModifynameReq {
@ -91,6 +93,30 @@ message UserModifynameResp {
uint32 count = 2; // uint32 count = 2; //
} }
//
message UserGetTujianReq {} message UserGetTujianReq {}
message UserGetTujianResp { repeated string heroids = 1; } message UserGetTujianResp { repeated string heroids = 1; }
//
message UserChangedPush {
string uid = 1;
int32 exp = 2;
int32 lv = 3;
}
//
message UserFigureReq {
int32 preinstall = 1; // 1-5
int32 action = 2; // 1-5 0
Hair hair = 3; // 1
Eyes eyes = 4; // 2
Mouth mouth = 5; // 3
Body body = 6; // 4
Complexion complexion = 7; // 5
}
message UserFigureResp {
string uid = 1;
int32 action = 2; //
Figure figure = 3;
}

View File

@ -1,6 +1,43 @@
syntax = "proto3"; syntax = "proto3";
option go_package = ".;pb"; option go_package = ".;pb";
//
message Hair {
int32 resId = 1; //ID
string color = 2; //
}
//
message Eyes {
int32 resId = 1; //ID
string color = 2; //
}
//
message Mouth {
string resId = 1; //ID
}
//
message Body {
int32 high = 1; //
int32 shape = 2; //
}
//
message Complexion {
string color = 1; //
}
//
message Figure {
Hair hair = 1;
Eyes eyes = 2;
Mouth mouth = 3;
Body body = 4;
Complexion complexion = 5;
}
// //
message DBUserExpand { message DBUserExpand {
string id = 1; //id string id = 1; //id
@ -11,4 +48,6 @@ message DBUserExpand {
int32 chatchannel = 6; // int32 chatchannel = 6; //
int32 modifynameCount = 7; // int32 modifynameCount = 7; //
map<string, bool> tujian = 8; // map<string, bool> tujian = 8; //
int32 curFigure = 9; //
map<int32, Figure> preinstall = 10; //
} }