package hdl import ( "applet/app/e" "applet/app/ipad/svc" "github.com/gin-gonic/gin" ) func OrderCate(c *gin.Context) { var res = []map[string]string{ {"name": "全部订单", "id": ""}, {"name": "制作中", "id": "1"}, {"name": "烘焙中", "id": "2"}, {"name": "分拣中", "id": "3"}, } e.OutSuc(c, res, nil) return } func Order(c *gin.Context) { svc.Order(c) } func StateOrder(c *gin.Context) { svc.StateOrder(c) }