Ver Fonte

feat: change package name

BaiLuoYan há 5 meses atrás
pai
commit
36894ae660

+ 1 - 1
pb/client/gogameclient/go_game_client.go

@@ -7,7 +7,7 @@ package gogameclient
 import (
 	"context"
 
-	"git.goio.dev/pb/go-service-pb/pb/pb"
+	"code.clickto.dev/nomo-server/go-service-pb/pb/pb"
 
 	"github.com/zeromicro/go-zero/zrpc"
 	"google.golang.org/grpc"

+ 1 - 1
pb/client/gopmpclient/go_pmp_client.go

@@ -7,7 +7,7 @@ package gopmpclient
 import (
 	"context"
 
-	"git.goio.dev/pb/go-service-pb/pb/pb"
+	"code.clickto.dev/nomo-server/go-service-pb/pb/pb"
 
 	"github.com/zeromicro/go-zero/zrpc"
 	"google.golang.org/grpc"

+ 1 - 1
pb/client/goshortdramaclient/go_short_drama_client.go

@@ -7,7 +7,7 @@ package goshortdramaclient
 import (
 	"context"
 
-	"git.goio.dev/pb/go-service-pb/pb/pb"
+	"code.clickto.dev/nomo-server/go-service-pb/pb/pb"
 
 	"github.com/zeromicro/go-zero/zrpc"
 	"google.golang.org/grpc"

+ 1 - 1
pb/client/gosysclient/go_sys_client.go

@@ -7,7 +7,7 @@ package gosysclient
 import (
 	"context"
 
-	"git.goio.dev/pb/go-service-pb/pb/pb"
+	"code.clickto.dev/nomo-server/go-service-pb/pb/pb"
 
 	"github.com/zeromicro/go-zero/zrpc"
 	"google.golang.org/grpc"

+ 1 - 1
pb/client/gouserclient/go_user_client.go

@@ -7,7 +7,7 @@ package gouserclient
 import (
 	"context"
 
-	"git.goio.dev/pb/go-service-pb/pb/pb"
+	"code.clickto.dev/nomo-server/go-service-pb/pb/pb"
 
 	"github.com/zeromicro/go-zero/zrpc"
 	"google.golang.org/grpc"

+ 1 - 1
pb/client/govpnclient/go_vpn_client.go

@@ -7,7 +7,7 @@ package govpnclient
 import (
 	"context"
 
-	"git.goio.dev/pb/go-service-pb/pb/pb"
+	"code.clickto.dev/nomo-server/go-service-pb/pb/pb"
 
 	"github.com/zeromicro/go-zero/zrpc"
 	"google.golang.org/grpc"

+ 1 - 1
pb/common.proto

@@ -1,7 +1,7 @@
 syntax = "proto3";
 
 package gorpc;
-option go_package = "git.goio.dev/pb/go-service-pb/client";
+option go_package = "code.clickto.dev/nomo-server/go-service-pb/client";
 
 import "pb/constant.proto";
 

+ 1 - 1
pb/constant.proto

@@ -1,7 +1,7 @@
 syntax = "proto3";
 
 package gorpc;
-option go_package = "git.goio.dev/pb/go-service-pb/client";
+option go_package = "code.clickto.dev/nomo-server/go-service-pb/client";
 
 enum RegisterMode {
   RegisterModeUnknown = 0;

+ 11 - 11
pb/game.proto

@@ -1,8 +1,7 @@
 syntax = "proto3";
 
 package gorpc;
-option go_package = "git.goio.dev/pb/go-service-pb/client";
-
+option go_package = "code.clickto.dev/nomo-server/go-service-pb/client";
 
 import "pb/common.proto";
 
@@ -76,13 +75,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 {
@@ -105,13 +104,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;
@@ -136,7 +135,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);
@@ -150,7 +150,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);
@@ -163,5 +164,4 @@ service GoGameClient {
   rpc GameCategoryGet(GameCategoryReq) returns (GameCategoryVo);
   rpc GameCategoryList(GameCategoryListReq) returns (GameCategoryListRes);
   rpc GameCategoryAll(Request) returns (GameCategoryListRes);
-
 }

+ 59 - 67
pb/gorpc.proto

@@ -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;

+ 2 - 2
pb/pb/gorpc.pb.go

@@ -1,7 +1,7 @@
 // Code generated by protoc-gen-go. DO NOT EDIT.
 // versions:
-// 	protoc-gen-go v1.36.6
-// 	protoc        v5.29.3
+// 	protoc-gen-go v1.36.7
+// 	protoc        v6.32.0
 // source: gorpc.proto
 
 package pb

+ 1 - 1
pb/pb/gorpc_grpc.pb.go

@@ -1,7 +1,7 @@
 // Code generated by protoc-gen-go-grpc. DO NOT EDIT.
 // versions:
 // - protoc-gen-go-grpc v1.5.1
-// - protoc             v5.29.3
+// - protoc             v6.32.0
 // source: gorpc.proto
 
 package pb

+ 21 - 35
pb/pmp.proto

@@ -1,7 +1,7 @@
 syntax = "proto3";
 
 package gorpc;
-option go_package = "git.goio.dev/pb/go-service-pb/client";
+option go_package = "code.clickto.dev/nomo-server/go-service-pb/client";
 
 import "pb/common.proto";
 
@@ -562,15 +562,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
 
@@ -776,7 +776,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;
@@ -785,9 +785,7 @@ message ServiceTypesVo {
   int64 updateTime = 11;
 }
 
-message ServiceTypesGetReq {
-  int64 id = 1;
-}
+message ServiceTypesGetReq { int64 id = 1; }
 
 message ServiceTypesListReq {
   Page page = 1;
@@ -801,17 +799,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
@@ -823,7 +815,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;
@@ -842,9 +834,7 @@ message ServiceSetsVo {
   int64 updateTime = 24;
 }
 
-message ServiceSetsGetReq {
-  int64 id = 1;
-}
+message ServiceSetsGetReq { int64 id = 1; }
 
 message ServiceSetsListReq {
   Page page = 1;
@@ -859,17 +849,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 {
@@ -908,7 +892,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);
 
@@ -924,7 +909,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);
 

+ 23 - 16
pb/shortdrama.proto

@@ -1,12 +1,10 @@
 syntax = "proto3";
 
 package gorpc;
-option go_package = "git.goio.dev/pb/go-service-pb/client";
+option go_package = "code.clickto.dev/nomo-server/go-service-pb/client";
 
 import "pb/common.proto";
 
-
-
 message ShortDramaEpisodeVo {
   int64 id = 1;
   int64 dramaId = 2;
@@ -37,9 +35,7 @@ message ShortDramaEpisodeBatchAddReq {
   repeated ShortDramaEpisodeVo episodes = 2;
 }
 
-message ShortDramaEpisodeBatchRefreshUpdateTimeReq {
-  int64 dramaId = 1;
-}
+message ShortDramaEpisodeBatchRefreshUpdateTimeReq { int64 dramaId = 1; }
 
 message ShortDramaLanguageVo {
   int64 id = 1;
@@ -84,7 +80,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;
@@ -101,7 +102,6 @@ message ShortDramaListResp {
 message ShortDramaLanguageListReq {
   Page page = 1;
   ShortDramaLanguageVo vo = 2;
-  
 }
 message ShortDramaLanguageListResp {
   int64 total = 1;
@@ -127,7 +127,7 @@ message ShortDramaEpisodeCountResp {
 
 message ShortDramaCheckNameReq {
   string title = 1; // 短剧名称
-  int64 id = 2; // 编辑时排除当前短剧ID
+  int64 id = 2;     // 编辑时排除当前短剧ID
 }
 
 message ShortDramaCheckNameResp {
@@ -178,25 +178,32 @@ 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);
 }

+ 1 - 1
pb/sys.proto

@@ -1,7 +1,7 @@
 syntax = "proto3";
 
 package gorpc;
-option go_package = "git.goio.dev/pb/go-service-pb/client";
+option go_package = "code.clickto.dev/nomo-server/go-service-pb/client";
 
 // 根据需要增加状态
 

+ 8 - 9
pb/user.proto

@@ -1,7 +1,7 @@
 syntax = "proto3";
 
 package gorpc;
-option go_package = "git.goio.dev/pb/go-service-pb/client";
+option go_package = "code.clickto.dev/nomo-server/go-service-pb/client";
 
 import "pb/common.proto";
 
@@ -104,11 +104,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 {
@@ -116,9 +115,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;

+ 1 - 1
pb/vpn.proto

@@ -1,7 +1,7 @@
 syntax = "proto3";
 
 package gorpc;
-option go_package = "git.goio.dev/pb/go-service-pb/client";
+option go_package = "code.clickto.dev/nomo-server/go-service-pb/client";
 
 import "pb/common.proto";