sync: soul-api 接口逻辑、soul-api 后端 | 原因: 后端接口逻辑修改、后端代码修改
This commit is contained in:
@@ -336,9 +336,10 @@ func DBBookAction(c *gin.Context) {
|
||||
Content string `json:"content"`
|
||||
Price *float64 `json:"price"`
|
||||
IsFree *bool `json:"isFree"`
|
||||
IsNew *bool `json:"isNew"` // stitch_soul:标记最新新增
|
||||
EditionStandard *bool `json:"editionStandard"` // 是否属于普通版
|
||||
EditionPremium *bool `json:"editionPremium"` // 是否属于增值版
|
||||
IsNew *bool `json:"isNew"`
|
||||
HotScore *float64 `json:"hotScore"`
|
||||
EditionStandard *bool `json:"editionStandard"`
|
||||
EditionPremium *bool `json:"editionPremium"`
|
||||
}
|
||||
if err := c.ShouldBindJSON(&body); err != nil {
|
||||
c.JSON(http.StatusOK, gin.H{"success": false, "error": "请求体无效"})
|
||||
|
||||
Reference in New Issue
Block a user