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

26 rivejä
991 B

  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.POST("order/state_list", hdl.StateOrder) //订单
  13. r.GET("order/goods/cate", hdl.OrderGoodsCate) //订单商品类目
  14. r.POST("order/goods/list", hdl.OrderGoods) //订单商品
  15. r.GET("responsible", hdl.Responsible) //负责人
  16. r.POST("order/make/begin", hdl.OrderMakeBegin) //订单开始制作
  17. r.POST("order/make/end", hdl.NewOrderMakeEnd) //订单制作完成
  18. r.POST("order/baking/end", hdl.NewOrderBakingEnd) //订单烘焙完成
  19. r.POST("order/sorting/end", hdl.NewOrderSortingEnd) //订单分拣完成
  20. r.POST("order/goods/sorting_list", hdl.SortingOrderGoods) //订单商品
  21. }