增加部分API注释

This commit is contained in:
刘祥超
2023-07-09 10:15:33 +08:00
parent 1c192050c7
commit 8639bd213e
5 changed files with 24 additions and 24 deletions

View File

@@ -7,7 +7,7 @@ import "models/model_user.proto";
import "models/model_http_cache_task_key.proto";
message HTTPCacheTask {
int64 id = 1;
int64 id = 1; // 任务ID
int64 userId = 2;
string type = 3;
string keyType = 4;
@@ -17,6 +17,6 @@ message HTTPCacheTask {
bool isOk = 8;
string description = 9;
User user = 30;
repeated HTTPCacheTaskKey httpCacheTaskKeys = 31;
User user = 30; // 所属用户
repeated HTTPCacheTaskKey httpCacheTaskKeys = 31; // 包含的Key
}