refactor: reorganize modules and add Linux build tooling

This commit is contained in:
2026-08-09 12:41:08 +08:00
parent 86024fa81d
commit 5cc5fd92ed
1461 changed files with 4054 additions and 4724 deletions

View File

@@ -0,0 +1,25 @@
syntax = "proto3";
package ads;
option go_package = ".;ads";
//广告子系统
service Fetch{
//通过广告位获取广告信息
rpc ByPos(ByPosRequest) returns (ByPosReply) {}
}
message ByPosRequest{
string key = 1;
}
message ByPosReply{
repeated AdsItem data =1;
}
message AdsItem{
int64 id = 1;
string title = 2;//广告名称
string content = 3;//广告内容
int32 type = 4;//广告类型 1.文本 2.图片 3.视频
string toUrl = 5;
string created = 6;
}