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

пре 8 месеци
пре 8 месеци
пре 8 месеци
пре 8 месеци
пре 8 месеци
пре 8 месеци
пре 8 месеци
12345678910111213141516171819202122
  1. package router
  2. import (
  3. "applet/app/ipad/hdl"
  4. "applet/app/ipad/mw"
  5. "github.com/gin-gonic/gin"
  6. )
  7. func IpadInit(r *gin.RouterGroup) {
  8. r.POST("/login", hdl.Login)
  9. r.Use(mw.Auth) //检测登录状态
  10. r.GET("order/cate", hdl.OrderCate) //订单类目
  11. r.POST("order/list", hdl.Order) //订单
  12. r.GET("order/goods/cate", hdl.OrderCate) //订单商品类目
  13. r.POST("order/goods/list", hdl.OrderGoods) //订单商品
  14. r.GET("responsible", hdl.Responsible) //负责人
  15. r.POST("order/make/begin", hdl.OrderMakeBegin) //订单开始制作
  16. r.POST("order/make/end", hdl.OrderMakeEnd) //订单制作完成
  17. r.POST("order/baking/end", hdl.OrderBakingEnd) //订单烘焙完成
  18. r.POST("order/sorting/end", hdl.OrderSortingEnd) //订单分拣完成
  19. }