增加刷新、预热缓存任务管理

This commit is contained in:
刘祥超
2022-06-05 17:14:14 +08:00
parent 85553bf5d9
commit 0ea04c9883
11 changed files with 2874 additions and 354 deletions

View File

@@ -0,0 +1,22 @@
syntax = "proto3";
option go_package = "./pb";
package pb;
import "models/model_user.proto";
import "models/model_http_cache_task_key.proto";
message HTTPCacheTask {
int64 id = 1;
int64 userId = 2;
string type = 3;
string keyType = 4;
int64 createdAt = 5;
int64 doneAt = 6;
bool isDone = 7;
bool isOk = 8;
string description = 9;
User user = 30;
repeated HTTPCacheTaskKey httpCacheTaskKeys = 31;
}