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.

27 lines
691 B

4 years ago
package store
import (
"github.com/gin-gonic/gin"
"recook/internal/api/store/bus"
)
/*
1
250
3
4
*/
func SetupRouter(v1 *gin.RouterGroup) {
v1StoreR := v1.Group("store")
v1StoreR.Use(authorize())
{
v1StoreR.POST("/user/login", bus.Login)
v1StoreR.POST("/order/list", bus.QueryOrderList)
v1StoreR.POST("/order/cate/count", bus.QueryOrderCateCount)
v1StoreR.POST("/order/express/confirm", bus.UpdateConfirmOrder)
v1StoreR.POST("/order/detail", bus.QueryOrderDetail)
v1StoreR.POST("/vend/list", bus.QueryVendList)
}
}