上传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,
TaskNoFinished: 1607,
TaskFinished: 1608,
ShopGoodsIsSoldOut: 1700
ShopGoodsIsSoldOut: 1700,
ShopNoSurplusRefreshNum: 1701
}
},
google: {
@ -1876,10 +1877,22 @@ var $root = ($protobuf.roots["default"] || ($protobuf.roots["default"] = new $pr
},
ShopGetListResp: {
fields: {
sType: {
type: "ShopType",
id: 1
},
IsManualRefresh: {
type: "bool",
id: 2
},
Goods: {
rule: "repeated",
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: {
type: "int32",
id: 9
},
sort: {
type: "int32",
id: 10
}
}
},
@ -2372,7 +2389,12 @@ var $root = ($protobuf.roots["default"] || ($protobuf.roots["default"] = new $pr
}
},
UserUpdateSettingResp: {
fields: {}
fields: {
uid: {
type: "string",
id: 1
}
}
},
UserVeriCodeReq: {
fields: {}
@ -2394,7 +2416,12 @@ var $root = ($protobuf.roots["default"] || ($protobuf.roots["default"] = new $pr
}
},
UserInitdataResp: {
fields: {}
fields: {
uid: {
type: "string",
id: 1
}
}
},
UserModifynameReq: {
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: {
fields: {
id: {
@ -2462,6 +2629,15 @@ var $root = ($protobuf.roots["default"] || ($protobuf.roots["default"] = new $pr
keyType: "string",
type: "bool",
id: 8
},
curFigure: {
type: "int32",
id: 9
},
preinstall: {
keyType: "int32",
type: "Figure",
id: 10
}
}
},

View File

@ -1,51 +1,70 @@
syntax = "proto3";
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 {
int32 channelId = 1;
bool isSucc = 2;
int32 channelId = 1;
bool isSucc = 2;
}
//
message ChatGetListReq {
ChatChannel channel = 1; //
ChatChannel channel = 1; //
}
//
message ChatGetListResp { repeated DBChat chats = 1; }
message ChatGetListResp {
repeated DBChat chats = 1;
}
//
message ChatSpanGetListReq {
ChatChannel channel = 1; //
int32 channelId = 2; //id
ChatChannel channel = 1; //
int32 channelId = 2; //id
}
//
message ChatSpanGetListResp { repeated DBChat chats = 1; }
message ChatSpanGetListResp {
repeated DBChat chats = 1;
}
//
message ChatSendReq {
ChatChannel channel = 1; //
string targetId = 2; //id
string content = 3; //
ChatChannel channel = 1; //
string targetId = 2; //id
string content = 3; //
}
//
message ChatSendResp {}
message ChatSendResp {
}
//
message ChatSpanSendReq {
ChatChannel channel = 1; //
string content = 2; //
ChatChannel channel = 1; //
string content = 2; //
}
//
message ChatSpanSendResp {}
message ChatSpanSendResp {
}

View File

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

View File

@ -1,38 +1,39 @@
syntax = "proto3";
option go_package = ".;pb";
import "equipment_db.proto";
import "equipment/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

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

View File

@ -1,6 +1,6 @@
syntax = "proto3";
option go_package = ".;pb";
import "hero_db.proto";
import "hero/hero_db.proto";
//
message HeroInfoReq {
@ -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

@ -1,45 +1,45 @@
syntax = "proto3";
option go_package = ".;pb";
import "items_db.proto";
import "items/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; //使
string GridId = 1; //Id
uint32 Amount = 2; //使
}
//使
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,44 @@
syntax = "proto3";
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 {
string ObjID = 1; // id
string ObjID = 1; // id
}
//
message MailGetNewMailPush {
DBMailData Mail = 1; //
message MailGetNewMailPush{
DBMailData Mail = 1; //
}

View File

@ -1,30 +1,36 @@
syntax = "proto3";
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 {
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,7 +1,7 @@
syntax = "proto3";
option go_package = ".;pb";
import "errorcode.proto";
import "notify_db.proto";
import "notify/notify_db.proto";
import "google/protobuf/any.proto";
//

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

Binary file not shown.

View File

@ -1,35 +1,39 @@
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 {
repeated ShopItem Goods = 1; //
ShopType sType = 1; //
bool IsManualRefresh = 2; //
repeated ShopItem Goods = 4; //
int32 SurplusRefreshNum = 5; //
}
//
message ShopBuyReq {
ShopType ShopType = 1; //
int32 GoodsId = 2; //Id
ShopType ShopType = 1; //
int32 GoodsId = 2; //Id
}
//
message ShopBuyResp {
bool IsSucc = 1; //
bool IsSucc = 1; //
}

View File

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

View File

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

View File

@ -2,12 +2,11 @@ syntax = "proto3";
option go_package = ".;pb";
message CacheUser {
string uid = 1; //@go_tags(`json:"uid"`) id
string SessionId = 2; //@go_tags(`json:"sessionId"`) id
string ServiceTag = 3; //@go_tags(`json:"serviceTag"`) id
string GatewayServiceId =
4; //@go_tags(`json:"gatewayServiceId"`) id
string ip = 5; //@go_tags(`json:"ip"`) ip
string uid = 1; //@go_tags(`json:"uid"`) id
string SessionId = 2; //@go_tags(`json:"sessionId"`) id
string ServiceTag = 3; //@go_tags(`json:"serviceTag"`) id
string GatewayServiceId = 4; //@go_tags(`json:"gatewayServiceId"`) id
string ip = 5; //@go_tags(`json:"ip"`) ip
}
message DBUser {

View File

@ -1,7 +1,7 @@
syntax = "proto3";
option go_package = ".;pb";
import "errorcode.proto";
import "user_db.proto";
import "user/user_db.proto";
import "comm.proto";
import "userexpand.proto";
@ -39,7 +39,9 @@ message UserCreateReq {
string NickName = 1; //
}
message UserCreateResp { bool IsSucc = 1; }
message UserCreateResp {
bool IsSucc = 1;
}
//
message UserAddResReq {
@ -68,7 +70,7 @@ message UserGetSettingResp {
//
message UserUpdateSettingReq { DBUserSetting setting = 1; }
message UserUpdateSettingResp {}
message UserUpdateSettingResp { string uid = 1; }
//
message UserVeriCodeReq {}
@ -80,7 +82,7 @@ message UserVeriCodeResp {
message UserInitdataReq {
int32 code = 1; //
}
message UserInitdataResp {}
message UserInitdataResp { string uid = 1; }
//
message UserModifynameReq {
@ -91,6 +93,30 @@ message UserModifynameResp {
uint32 count = 2; //
}
//
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,14 +1,53 @@
syntax = "proto3";
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 {
string id = 1; //id
string uid = 2; //id
int64 lastreadnotiftime = 3; //
int64 lastInitdataTime = 4; //
uint32 initdataCount = 5; //
int32 chatchannel = 6; //
int32 modifynameCount = 7; //
map<string,bool> tujian = 8; //
string id = 1; //id
string uid = 2; //id
int64 lastreadnotiftime = 3; //
int64 lastInitdataTime = 4; //
uint32 initdataCount = 5; //
int32 chatchannel = 6; //
int32 modifynameCount = 7; //
map<string, bool> tujian = 8; //
int32 curFigure = 9; //
map<int32, Figure> preinstall = 10; //
}