Skip to content

Commit

Permalink
remove task model
Browse files Browse the repository at this point in the history
  • Loading branch information
madneal committed May 19, 2024
1 parent 7e11bd6 commit 2fa0d72
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions server/source/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,6 @@ var apis = []model.SysApi{
{global.GVA_MODEL{CreatedAt: time.Now(), UpdatedAt: time.Now()}, "/filter/updateFilter", "更新过滤规则", "filter", "PUT"},
{global.GVA_MODEL{CreatedAt: time.Now(), UpdatedAt: time.Now()}, "/filter/findFilter", "根据ID获取过滤规则", "filter", "GET"},
{global.GVA_MODEL{CreatedAt: time.Now(), UpdatedAt: time.Now()}, "/filter/getFilterList", "获取过滤规则列表", "filter", "GET"},
{global.GVA_MODEL{CreatedAt: time.Now(), UpdatedAt: time.Now()}, "/task/getTaskList", "获取任务列表", "task", "GET"},
{global.GVA_MODEL{CreatedAt: time.Now(), UpdatedAt: time.Now()}, "/task/createTask", "创建任务", "task", "POST"},
{global.GVA_MODEL{CreatedAt: time.Now(), UpdatedAt: time.Now()}, "/task/switchTaskStatus", "切换任务状态", "task", "POST"},
}

func (a *api) Init() error {
Expand Down
2 changes: 1 addition & 1 deletion sql.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## v1.4.4
## v1.4.5

```
drop table task;
Expand Down

0 comments on commit 2fa0d72

Please sign in to comment.