1
This commit is contained in:
parent
26232f1468
commit
2a4afc8e6c
@ -470,7 +470,7 @@ class ShopController extends BaseAuthedController {
|
|||||||
private function getInAppBalance()
|
private function getInAppBalance()
|
||||||
{
|
{
|
||||||
$recordDb = InAppRecord::get();
|
$recordDb = InAppRecord::get();
|
||||||
$upLimit = mt\Parameter::getVal('inapp_up_limit', 0);
|
$upLimit = mt\Parameter::getVal('inapp_daily_up_limit', 0);
|
||||||
$todayAmount = 0;
|
$todayAmount = 0;
|
||||||
if ($recordDb) {
|
if ($recordDb) {
|
||||||
$todayAmount = max($recordDb['amount'], $recordDb['amount_ok']);
|
$todayAmount = max($recordDb['amount'], $recordDb['amount_ok']);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user