feat(admin): 添加金豆列表新增功能并增加订单状态字段 - 在GoldListController中添加Add API接口 - 为GoldBeanOrder模型增加Status字段用于标识订单状态 - 状态字段默认值为0表示待处理,1表示已完成 ```
This commit is contained in:
@@ -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
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user