面包店
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.

hdl_order.go 439 B

9 months ago
9 months ago
9 months ago
123456789101112131415161718192021222324
  1. package hdl
  2. import (
  3. "applet/app/e"
  4. "applet/app/ipad/svc"
  5. "github.com/gin-gonic/gin"
  6. )
  7. func OrderCate(c *gin.Context) {
  8. var res = []map[string]string{
  9. {"name": "全部订单", "id": ""},
  10. {"name": "制作中", "id": "1"},
  11. {"name": "烘焙中", "id": "2"},
  12. {"name": "分拣中", "id": "3"},
  13. }
  14. e.OutSuc(c, res, nil)
  15. return
  16. }
  17. func Order(c *gin.Context) {
  18. svc.Order(c)
  19. }
  20. func StateOrder(c *gin.Context) {
  21. svc.StateOrder(c)
  22. }