使用统一方法pgk进行调用

This commit is contained in:
ayflying
2025-03-04 18:58:10 +08:00
parent 6eeb5a57cd
commit 0e55698a47
24 changed files with 1452 additions and 112 deletions

View 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;
}