|
|
@@ -106,7 +106,6 @@ message TransactionReq { repeated TransactionOperation transactions = 1; }
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
message GameVo {
|
|
|
int64 id = 1;
|
|
|
string name = 2;
|
|
|
@@ -177,13 +176,13 @@ message RelGameVpnGroupListRes {
|
|
|
|
|
|
message GameRedisHScanByNameReq {
|
|
|
string name = 1;
|
|
|
- int64 cursor =2;
|
|
|
- int64 count =3;
|
|
|
+ int64 cursor = 2;
|
|
|
+ int64 count = 3;
|
|
|
}
|
|
|
|
|
|
message GameRedisHScanByNameResp {
|
|
|
repeated int64 ids = 1;
|
|
|
- int64 cursor =2;
|
|
|
+ int64 cursor = 2;
|
|
|
}
|
|
|
|
|
|
message GameCustomerVo {
|
|
|
@@ -206,13 +205,13 @@ message GameCustomerListRes {
|
|
|
}
|
|
|
|
|
|
message GameCustomerAddResp {
|
|
|
- GameCustomerVo vo =1;
|
|
|
- bool ExistBoost =2;
|
|
|
+ GameCustomerVo vo = 1;
|
|
|
+ bool ExistBoost = 2;
|
|
|
}
|
|
|
|
|
|
message GameCategoryVo {
|
|
|
int64 id = 1;
|
|
|
- string code =2;
|
|
|
+ string code = 2;
|
|
|
string name = 3;
|
|
|
string described = 4;
|
|
|
int64 createTime = 5;
|
|
|
@@ -237,7 +236,8 @@ service GoGameClient {
|
|
|
rpc GameGet(GameReq) returns (GameVo);
|
|
|
rpc GameList(GameListReq) returns (GameListRes);
|
|
|
rpc GameAll(Request) returns (GameListRes);
|
|
|
- rpc GameRedisHScanByName(GameRedisHScanByNameReq) returns (GameRedisHScanByNameResp);
|
|
|
+ rpc GameRedisHScanByName(GameRedisHScanByNameReq)
|
|
|
+ returns (GameRedisHScanByNameResp);
|
|
|
|
|
|
// 游戏榜单关联关系
|
|
|
rpc RelGameRankAdd(RelGameRankVo) returns (RelGameRankVo);
|
|
|
@@ -251,7 +251,8 @@ service GoGameClient {
|
|
|
rpc RelGameVpnGroupUpdate(RelGameVpnGroupVo) returns (Empty);
|
|
|
rpc RelGameVpnGroupDel(Ids) returns (Empty);
|
|
|
rpc RelGameVpnGroupGet(RelGameVpnGroupReq) returns (RelGameVpnGroupVo);
|
|
|
- rpc RelGameVpnGroupList(RelGameVpnGroupListReq) returns (RelGameVpnGroupListRes);
|
|
|
+ rpc RelGameVpnGroupList(RelGameVpnGroupListReq)
|
|
|
+ returns (RelGameVpnGroupListRes);
|
|
|
|
|
|
// 用户提交游戏
|
|
|
rpc GameCustomerList(GameCustomerListReq) returns (GameCustomerListRes);
|
|
|
@@ -264,7 +265,6 @@ service GoGameClient {
|
|
|
rpc GameCategoryGet(GameCategoryReq) returns (GameCategoryVo);
|
|
|
rpc GameCategoryList(GameCategoryListReq) returns (GameCategoryListRes);
|
|
|
rpc GameCategoryAll(Request) returns (GameCategoryListRes);
|
|
|
-
|
|
|
}
|
|
|
|
|
|
|
|
|
@@ -826,15 +826,15 @@ message AdPlanDetailListResp {
|
|
|
// AdGlobalConfig
|
|
|
message AdGlobalConfigVo {
|
|
|
int64 id = 1;
|
|
|
- string productCode = 2; // 产品code
|
|
|
- string platforms = 3; // 按平台分类的广告配置JSON
|
|
|
- string remark = 4; // 备注
|
|
|
- int64 createTime = 5; // 创建时间
|
|
|
- int64 updateTime = 6; // 更新时间
|
|
|
+ string productCode = 2; // 产品code
|
|
|
+ string platforms = 3; // 按平台分类的广告配置JSON
|
|
|
+ string remark = 4; // 备注
|
|
|
+ int64 createTime = 5; // 创建时间
|
|
|
+ int64 updateTime = 6; // 更新时间
|
|
|
}
|
|
|
|
|
|
message AdGlobalConfigGetReq {
|
|
|
- string productCode = 1; // 产品代码
|
|
|
+ string productCode = 1; // 产品代码
|
|
|
}
|
|
|
// end AdGlobalConfig
|
|
|
|
|
|
@@ -1040,7 +1040,7 @@ message ServiceTypesVo {
|
|
|
string productCode = 2;
|
|
|
string name = 3;
|
|
|
int64 userLevel = 4;
|
|
|
- int64 deviceLimit = 5; // 可选字段,Go中是 *int64
|
|
|
+ int64 deviceLimit = 5; // 可选字段,Go中是 *int64
|
|
|
int64 sort = 6;
|
|
|
string config = 7;
|
|
|
Status status = 8;
|
|
|
@@ -1049,9 +1049,7 @@ message ServiceTypesVo {
|
|
|
int64 updateTime = 11;
|
|
|
}
|
|
|
|
|
|
-message ServiceTypesGetReq {
|
|
|
- int64 id = 1;
|
|
|
-}
|
|
|
+message ServiceTypesGetReq { int64 id = 1; }
|
|
|
|
|
|
message ServiceTypesListReq {
|
|
|
Page page = 1;
|
|
|
@@ -1065,17 +1063,11 @@ message ServiceTypesListResp {
|
|
|
repeated ServiceTypesVo list = 2;
|
|
|
}
|
|
|
|
|
|
-message ServiceTypesAddReq {
|
|
|
- ServiceTypesVo vo = 1;
|
|
|
-}
|
|
|
+message ServiceTypesAddReq { ServiceTypesVo vo = 1; }
|
|
|
|
|
|
-message ServiceTypesUpdateReq {
|
|
|
- ServiceTypesVo vo = 1;
|
|
|
-}
|
|
|
+message ServiceTypesUpdateReq { ServiceTypesVo vo = 1; }
|
|
|
|
|
|
-message ServiceTypesDelReq {
|
|
|
- int64 id = 1;
|
|
|
-}
|
|
|
+message ServiceTypesDelReq { int64 id = 1; }
|
|
|
// end ServiceTypes
|
|
|
|
|
|
// ServiceSets
|
|
|
@@ -1087,7 +1079,7 @@ message ServiceSetsVo {
|
|
|
int64 licenseDays = 5;
|
|
|
string channel = 6;
|
|
|
string channelItemId = 7;
|
|
|
- int64 refPortalServiceSetId = 8; // Go中是 sql.int64,转换为 int64
|
|
|
+ int64 refPortalServiceSetId = 8; // Go中是 sql.int64,转换为 int64
|
|
|
string appleChannelItemId = 9;
|
|
|
string googleChannelItemId = 10;
|
|
|
string title = 11;
|
|
|
@@ -1106,9 +1098,7 @@ message ServiceSetsVo {
|
|
|
int64 updateTime = 24;
|
|
|
}
|
|
|
|
|
|
-message ServiceSetsGetReq {
|
|
|
- int64 id = 1;
|
|
|
-}
|
|
|
+message ServiceSetsGetReq { int64 id = 1; }
|
|
|
|
|
|
message ServiceSetsListReq {
|
|
|
Page page = 1;
|
|
|
@@ -1123,17 +1113,11 @@ message ServiceSetsListResp {
|
|
|
repeated ServiceSetsVo list = 2;
|
|
|
}
|
|
|
|
|
|
-message ServiceSetsAddReq {
|
|
|
- ServiceSetsVo vo = 1;
|
|
|
-}
|
|
|
+message ServiceSetsAddReq { ServiceSetsVo vo = 1; }
|
|
|
|
|
|
-message ServiceSetsUpdateReq {
|
|
|
- ServiceSetsVo vo = 1;
|
|
|
-}
|
|
|
+message ServiceSetsUpdateReq { ServiceSetsVo vo = 1; }
|
|
|
|
|
|
-message ServiceSetsDelReq {
|
|
|
- int64 id = 1;
|
|
|
-}
|
|
|
+message ServiceSetsDelReq { int64 id = 1; }
|
|
|
// end ServiceSets
|
|
|
|
|
|
message MessagePushVo {
|
|
|
@@ -1172,7 +1156,8 @@ service GoPmpClient {
|
|
|
rpc GlobalParamAdd(GlobalParamVo) returns (GlobalParamVo);
|
|
|
rpc GlobalParamUpdate(GlobalParamVo) returns (GlobalParamVo);
|
|
|
rpc GlobalParamDel(Ids) returns (Empty);
|
|
|
- rpc GlobalParamGet(GlobalParamVo) returns (GlobalParamVo); // 兼容旧接口,新版本代码中请不要调用
|
|
|
+ rpc GlobalParamGet(GlobalParamVo)
|
|
|
+ returns (GlobalParamVo); // 兼容旧接口,新版本代码中请不要调用
|
|
|
rpc GlobalParamGetWithLang(GlobalParamGetReq) returns (GlobalParamVo);
|
|
|
rpc GlobalParamList(GlobalParamListReq) returns (GlobalParamListResp);
|
|
|
|
|
|
@@ -1188,7 +1173,8 @@ service GoPmpClient {
|
|
|
rpc ProductParamAdd(ProductParamVo) returns (ProductParamVo);
|
|
|
rpc ProductParamUpdate(ProductParamVo) returns (ProductParamVo);
|
|
|
rpc ProductParamDel(Ids) returns (Empty);
|
|
|
- rpc ProductParamGet(ProductParamVo) returns (ProductParamVo); // 兼容旧接口,新版本代码中请不要调用
|
|
|
+ rpc ProductParamGet(ProductParamVo)
|
|
|
+ returns (ProductParamVo); // 兼容旧接口,新版本代码中请不要调用
|
|
|
rpc ProductParamGetWithLang(ProductParamGetReq) returns (ProductParamVo);
|
|
|
rpc ProductParamList(ProductParamListReq) returns (ProductParamListResp);
|
|
|
|
|
|
@@ -1378,8 +1364,6 @@ service GoPmpClient {
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
message ShortDramaEpisodeVo {
|
|
|
int64 id = 1;
|
|
|
int64 dramaId = 2;
|
|
|
@@ -1410,9 +1394,7 @@ message ShortDramaEpisodeBatchAddReq {
|
|
|
repeated ShortDramaEpisodeVo episodes = 2;
|
|
|
}
|
|
|
|
|
|
-message ShortDramaEpisodeBatchRefreshUpdateTimeReq {
|
|
|
- int64 dramaId = 1;
|
|
|
-}
|
|
|
+message ShortDramaEpisodeBatchRefreshUpdateTimeReq { int64 dramaId = 1; }
|
|
|
|
|
|
message ShortDramaLanguageVo {
|
|
|
int64 id = 1;
|
|
|
@@ -1457,7 +1439,12 @@ message ShortDramaVo {
|
|
|
int64 modifier = 28;
|
|
|
}
|
|
|
|
|
|
-message ShortDramaGetReq { ShortDramaVo vo = 1; string productCode = 2; string countryCode = 3; string lang = 4;}
|
|
|
+message ShortDramaGetReq {
|
|
|
+ ShortDramaVo vo = 1;
|
|
|
+ string productCode = 2;
|
|
|
+ string countryCode = 3;
|
|
|
+ string lang = 4;
|
|
|
+}
|
|
|
message ShortDramaListReq {
|
|
|
Page page = 1;
|
|
|
ShortDramaVo vo = 2;
|
|
|
@@ -1474,7 +1461,6 @@ message ShortDramaListResp {
|
|
|
message ShortDramaLanguageListReq {
|
|
|
Page page = 1;
|
|
|
ShortDramaLanguageVo vo = 2;
|
|
|
-
|
|
|
}
|
|
|
message ShortDramaLanguageListResp {
|
|
|
int64 total = 1;
|
|
|
@@ -1500,7 +1486,7 @@ message ShortDramaEpisodeCountResp {
|
|
|
|
|
|
message ShortDramaCheckNameReq {
|
|
|
string title = 1; // 短剧名称
|
|
|
- int64 id = 2; // 编辑时排除当前短剧ID
|
|
|
+ int64 id = 2; // 编辑时排除当前短剧ID
|
|
|
}
|
|
|
|
|
|
message ShortDramaCheckNameResp {
|
|
|
@@ -1551,27 +1537,34 @@ service GoShortDramaClient {
|
|
|
rpc ShortDramaUpdateModifier(ShortDramaUpdateModifierReq) returns (Empty);
|
|
|
|
|
|
// ShortDramaLanguage
|
|
|
- rpc ShortDramaLanguageList(ShortDramaLanguageListReq) returns (ShortDramaLanguageListResp);
|
|
|
+ rpc ShortDramaLanguageList(ShortDramaLanguageListReq)
|
|
|
+ returns (ShortDramaLanguageListResp);
|
|
|
|
|
|
// ShortDramaEpisode
|
|
|
rpc ShortDramaEpisodeAdd(ShortDramaEpisodeVo) returns (ShortDramaEpisodeVo);
|
|
|
rpc ShortDramaEpisodeBatchAdd(ShortDramaEpisodeBatchAddReq) returns (Empty);
|
|
|
rpc ShortDramaEpisodeUpdate(ShortDramaEpisodeVo) returns (Empty);
|
|
|
rpc ShortDramaEpisodeDel(Ids) returns (Empty);
|
|
|
- rpc ShortDramaEpisodeGet(ShortDramaEpisodeGetReq) returns (ShortDramaEpisodeVo);
|
|
|
- rpc ShortDramaEpisodeList(ShortDramaEpisodeListReq) returns (ShortDramaEpisodeListResp);
|
|
|
- rpc ShortDramaEpisodeBatchRefreshUpdateTime(ShortDramaEpisodeBatchRefreshUpdateTimeReq) returns (Empty);
|
|
|
+ rpc ShortDramaEpisodeGet(ShortDramaEpisodeGetReq)
|
|
|
+ returns (ShortDramaEpisodeVo);
|
|
|
+ rpc ShortDramaEpisodeList(ShortDramaEpisodeListReq)
|
|
|
+ returns (ShortDramaEpisodeListResp);
|
|
|
+ rpc ShortDramaEpisodeBatchRefreshUpdateTime(
|
|
|
+ ShortDramaEpisodeBatchRefreshUpdateTimeReq) returns (Empty);
|
|
|
|
|
|
// ShortDramaEpisodeCount
|
|
|
- rpc ShortDramaEpisodeCount(ShortDramaEpisodeCountReq) returns (ShortDramaEpisodeCountResp);
|
|
|
+ rpc ShortDramaEpisodeCount(ShortDramaEpisodeCountReq)
|
|
|
+ returns (ShortDramaEpisodeCountResp);
|
|
|
|
|
|
- rpc ShortDramaCheckName(ShortDramaCheckNameReq) returns (ShortDramaCheckNameResp);
|
|
|
+ rpc ShortDramaCheckName(ShortDramaCheckNameReq)
|
|
|
+ returns (ShortDramaCheckNameResp);
|
|
|
|
|
|
// ShortDramaStats
|
|
|
rpc SetTotalStats(SetTotalStatsReq) returns (Empty);
|
|
|
|
|
|
// ShortDramaStatsPlaysTotal
|
|
|
- rpc ShortDramaStatsPlaysTotalList(ShortDramaStatsPlaysTotalListReq) returns (ShortDramaStatsPlaysTotalListResp);
|
|
|
+ rpc ShortDramaStatsPlaysTotalList(ShortDramaStatsPlaysTotalListReq)
|
|
|
+ returns (ShortDramaStatsPlaysTotalListResp);
|
|
|
}
|
|
|
|
|
|
|
|
|
@@ -1915,11 +1908,10 @@ message DeviceVo {
|
|
|
Status status = 22;
|
|
|
string refer = 23;
|
|
|
int64 whitelistUser = 24; // 白名单用户 1正常用户 2: 白名单用户
|
|
|
- int64 testUser = 25; // 测试用户 1正常用户 2: 测试用户
|
|
|
- string mockCountry = 26; // 指定国家
|
|
|
- string mockApi = 27; // 指定API
|
|
|
- string mockRouter = 28; // 指定路由
|
|
|
-
|
|
|
+ int64 testUser = 25; // 测试用户 1正常用户 2: 测试用户
|
|
|
+ string mockCountry = 26; // 指定国家
|
|
|
+ string mockApi = 27; // 指定API
|
|
|
+ string mockRouter = 28; // 指定路由
|
|
|
}
|
|
|
|
|
|
message DeviceListReq {
|
|
|
@@ -1927,9 +1919,9 @@ message DeviceListReq {
|
|
|
DeviceVo vo = 2;
|
|
|
repeated string productCodes = 3; // 产品code
|
|
|
repeated int64 excludeIds = 4; // 排除的ID
|
|
|
- repeated string dateRange = 5; // 日期范围
|
|
|
- int64 createStartTime = 6; // 创建开始时间
|
|
|
- int64 createEndTime = 7; // 创建结束时间
|
|
|
+ repeated string dateRange = 5; // 日期范围
|
|
|
+ int64 createStartTime = 6; // 创建开始时间
|
|
|
+ int64 createEndTime = 7; // 创建结束时间
|
|
|
}
|
|
|
message DeviceListRes {
|
|
|
int64 total = 1;
|