chore: format logs

This commit is contained in:
JustSong committed 2023-06-22 10:59:01 +08:00
1 parent b0b0ed2013
commit b7a89340e1
13 files changed
+36 -34

No files matched your search

+1 -1
View File
@@ -64,7 +64,7 @@ func Redeem(key string, userId int) (quota int, err error) {
redemption.Status = common.RedemptionCodeStatusUsed
err := redemption.SelectUpdate()
if err != nil {
common.SysError("更新兑换码状态失败:" + err.Error())
common.SysError("failed to update redemption status: " + err.Error())
}
RecordLog(userId, LogTypeTopup, fmt.Sprintf("通过兑换码充值 %s", common.LogQuota(redemption.Quota)))
}()