This commit is contained in:
@@ -12,7 +12,7 @@ type ItemBagController struct {
|
||||
func init() {
|
||||
var task_info_controller = &ItemBagController{
|
||||
&cool.Controller{
|
||||
Prefix: "/admin/sun/item",
|
||||
Prefix: "/admin/game/item",
|
||||
Api: []string{"Delete", "Update", "Info", "List", "Page"},
|
||||
Service: service.NewItemService(0), //因为page已经过滤,所以这里需要改成0
|
||||
},
|
||||
|
||||
@@ -15,7 +15,7 @@ type PlayerController struct {
|
||||
func init() {
|
||||
var task_info_controller = &PlayerController{
|
||||
&cool.Controller{
|
||||
Prefix: "/admin/sun/player",
|
||||
Prefix: "/admin/game/player",
|
||||
Api: []string{"Add", "Delete", "Update", "Info", "List", "Page"},
|
||||
Service: service.NewInfoService(0),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user