面包店
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 450 B

8 maanden geleden
1234567891011121314151617181920212223
  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": "0"},
  11. {"name": "制作中", "id": "1"},
  12. {"name": "待烘焙", "id": "2"},
  13. {"name": "待分拣", "id": "3"},
  14. {"name": "已完成", "id": "4"},
  15. }
  16. e.OutSuc(c, res, nil)
  17. return
  18. }
  19. func Order(c *gin.Context) {
  20. svc.Order(c)
  21. }