|
|
@@ -78,7 +78,7 @@ func Redeem(key string, userId int) (quota int, err error) {
|
|
|
if err != nil {
|
|
|
return 0, errors.New("兑换失败," + err.Error())
|
|
|
}
|
|
|
- RecordLog(userId, LogTypeTopup, fmt.Sprintf("通过兑换码充值 %s", common.LogQuota(redemption.Quota)))
|
|
|
+ RecordLog(userId, LogTypeTopup, fmt.Sprintf("通过兑换码充值 %s,兑换码ID %d", common.LogQuota(redemption.Quota), redemption.Id))
|
|
|
return redemption.Quota, nil
|
|
|
}
|
|
|
|