|
- 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": "0"},
- {"name": "制作中", "id": "1"},
- {"name": "待烘焙", "id": "2"},
- {"name": "待分拣", "id": "3"},
- {"name": "已完成", "id": "4"},
- }
- e.OutSuc(c, res, nil)
- return
- }
- func Order(c *gin.Context) {
- svc.Order(c)
- }
|