You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

14 lines
266 B

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))
}