fixe page styles

This commit is contained in:
RockYang
2024-06-05 18:08:23 +08:00
parent 3c70c8ae59
commit c02661ea29
17 changed files with 95 additions and 78 deletions

View File

@@ -493,7 +493,7 @@ func (h *PaymentHandler) notify(orderNo string, tradeNo string) error {
h.DB.Model(&model.Product{}).Where("id = ?", order.ProductId).UpdateColumn("sales", gorm.Expr("sales + ?", 1))
// 记录算力充值日志
if opt != "" {
if power > 0 {
h.DB.Create(&model.PowerLog{
UserId: user.Id,
Username: user.Username,