go-common/app/admin/main/activity/http/kfc.go

15 lines
266 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
package http
import (
kfcmdl "go-common/app/admin/main/activity/model/kfc"
bm "go-common/library/net/http/blademaster"
)
func kfcList(c *bm.Context) {
arg := new(kfcmdl.ListParams)
if err := c.Bind(arg); err != nil {
return
}
c.JSON(kfcSrv.List(c, arg))
}