优化交易状态检查逻辑

This commit is contained in:
2025-06-24 11:36:27 +08:00
parent 2fd17dde22
commit 065a7c77c3
10 changed files with 218 additions and 283 deletions

View File

@@ -508,12 +508,7 @@ func ResourcePrice(c *fiber.Ctx) error {
return err
}
data, err := req.ToData()
if err != nil {
return err
}
return c.JSON(fiber.Map{
"price": data.GetPrice().StringFixed(2),
"price": req.GetPrice().StringFixed(2),
})
}