优化积分修改时的备注写入

This commit is contained in:
2026-07-27 12:30:23 +08:00
parent c4ec7828bd
commit 881581a8f0
3 changed files with 18 additions and 3 deletions

View File

@@ -1130,7 +1130,7 @@ SQL;
$memoKey = ($row['direction'] ?? '') === 'OUT'
? 'Administrator deducted %s points'
: 'Administrator added %s points';
$memo = __($memoKey, [$row['points'] ?? 0]);
$memo = sprintf(__($memoKey), $row['points'] ?? 0);
}
$list[] = [
'biz_type' => $row['biz_type'] ?? '',