添加扩展类型字段
This commit is contained in:
parent
dff14a45be
commit
c0be49a610
@ -15,6 +15,7 @@ import (
|
|||||||
|
|
||||||
func BundleExtend(c *gin.Context) {
|
func BundleExtend(c *gin.Context) {
|
||||||
var req bundle.BundleExtendRequest
|
var req bundle.BundleExtendRequest
|
||||||
|
req.Type = 1
|
||||||
if err := c.ShouldBindJSON(&req); err != nil {
|
if err := c.ShouldBindJSON(&req); err != nil {
|
||||||
service.Error(c, err)
|
service.Error(c, err)
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user