```
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

feat(admin): 添加金豆列表新增功能并增加订单状态字段

- 在GoldListController中添加Add API接口
- 为GoldBeanOrder模型增加Status字段用于标识订单状态
- 状态字段默认值为0表示待处理,1表示已完成
```
This commit is contained in:
昔念
2026-03-17 22:49:14 +08:00
parent aa6929cd50
commit d1d20a4067
2 changed files with 2 additions and 1 deletions

View File

@@ -13,7 +13,7 @@ func init() {
var task_info_controller = &GoldListController{
&cool.Controller{
Prefix: "/admin/game/goldlist",
Api: []string{"Delete", "Update", "Info", "List", "Page"},
Api: []string{"Add", "Delete", "Update", "Info", "List", "Page"},
Service: service.NewGoldListService(0), //因为page已经过滤所以这里需要改成0
},
}