This commit is contained in:
aozhiwei 2023-08-07 12:16:32 +08:00
parent e70716d196
commit 7bfe26ff4f

View File

@ -31,7 +31,7 @@ class InAppRecord extends BaseModel {
),
array(
'amount' => function () use($amount) {
return 'amount + ' + $amount;
return 'amount + ' . $amount;
},
'buy_times' => function () {
return 'buy_times + 1';
@ -60,7 +60,7 @@ class InAppRecord extends BaseModel {
),
array(
'amount_ok' => function () use($amount) {
return 'amount_ok + ' + $amount;
return 'amount_ok + ' . $amount;
},
'buy_ok_times' => function () use($amount) {
return 'buy_ok_times + 1';