Compare commits
No commits in common. "af9c443686b9a62037bbc20f30aff6f1f842ae23" and "0885aa1ed0310f8230b89bf09a28b49217fbcdf9" have entirely different histories.
af9c443686
...
0885aa1ed0
@ -47,7 +47,7 @@ func BundleRouter(r *gin.RouterGroup) {
|
||||
}
|
||||
bundleAppRouteV2 := bundleAppRoute.Group("app/system/v2")
|
||||
{
|
||||
bundleAppRouteV2.POST("bundle-list", bundle.BundleListH5V2)
|
||||
bundleAppRouteV2.POST("bundle-list", bundle.BundleListV2)
|
||||
bundleAppRouteV2.POST("bundle-detail", bundle.BundleDetailV2)
|
||||
bundleAppRouteV2.POST("add-value/only", bundle.OnlyAddValueListByOrderNo)
|
||||
|
||||
|
@ -141,6 +141,7 @@ func HandShelf(c *gin.Context) {
|
||||
}
|
||||
service.Success(c, res)
|
||||
}
|
||||
|
||||
func OnlyAddValueListByOrderNo(c *gin.Context) {
|
||||
var req bundle.OnlyAddValueListByOrderNoRequest
|
||||
|
||||
@ -157,19 +158,3 @@ func OnlyAddValueListByOrderNo(c *gin.Context) {
|
||||
|
||||
service.Success(c, res)
|
||||
}
|
||||
func BundleListH5V2(c *gin.Context) {
|
||||
var req bundle.BundleListRequest
|
||||
|
||||
if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil {
|
||||
service.Error(c, err)
|
||||
return
|
||||
}
|
||||
|
||||
res, err := service.BundleProvider.BundleListH5V2(context.Background(), &req)
|
||||
if err != nil {
|
||||
service.Error(c, err)
|
||||
return
|
||||
}
|
||||
|
||||
service.Success(c, res)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user