使用统一方法pgk进行调用
This commit is contained in:
22
manifest/protobuf/pgk/v1/pgk.proto
Normal file
22
manifest/protobuf/pgk/v1/pgk.proto
Normal file
@@ -0,0 +1,22 @@
|
||||
syntax = "proto3";
|
||||
package package;
|
||||
|
||||
option go_package = "github.com/ayflying/utility_go/api/pgk/v1";
|
||||
|
||||
|
||||
// 定义 NoticeType 枚举
|
||||
enum NoticeType {
|
||||
DINGTALK = 0;
|
||||
WECHAT = 1;
|
||||
EMAIL = 2;
|
||||
SMS = 3;
|
||||
VOICE = 4;
|
||||
}
|
||||
|
||||
//排行榜数据
|
||||
message RankData {
|
||||
int64 id = 1;
|
||||
int64 score = 2;
|
||||
int32 rank = 3;
|
||||
int64 update_ts = 4;
|
||||
}
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
syntax = "proto3";
|
||||
package system;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user