字段名错误

This commit is contained in:
flswld
2023-02-05 09:00:27 +08:00
parent 3f0b57721f
commit b2530509ab

View File

@@ -85,7 +85,7 @@ func (c *Controller) gateTokenReset(context *gin.Context) {
}) })
return return
} }
_, err = c.dao.UpdateAccountFieldByFieldName("PlayerID", req.PlayerId, "comboTokenUsed", false) _, err = c.dao.UpdateAccountFieldByFieldName("playerID", req.PlayerId, "comboTokenUsed", false)
if err != nil { if err != nil {
context.JSON(http.StatusOK, &TokenResetRsp{ context.JSON(http.StatusOK, &TokenResetRsp{
Result: false, Result: false,