@@ -1151,6 +1151,8 @@ func UpdateProductPlan(c *gin.Context, apictx *ApiSession) (interface{}, error)
var plan model.ProductPlan
err := c.ShouldBindJSON(&plan)
if err != nil {
+ fmt.Println(err)
+ log.Error(err)
return nil, errors.New("参数错误")
}
if plan.Id.Hex() == "" {