面包店
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 

24 rindas
450 B

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