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.

15 lines
319 B

package customer
import (
"shop-api/api/customer"
"github.com/gin-gonic/gin"
)
func InitCustomerGoodsRouter(Router *gin.RouterGroup) {
InRouter := Router.Group("goods")
{
InRouter.GET("detail", customer.GetTbGoodsDetail) // 商品详情
InRouter.POST("collect", customer.CollectGoods) // 收藏商品
}
}