opcache
This commit is contained in:
@@ -470,7 +470,8 @@ class LedgerForm extends BaseModel
|
||||
$logProcess->updated_at = $time;
|
||||
$logProcess->saveOrFail();
|
||||
}
|
||||
|
||||
|
||||
$platformDeliveryTotal = 0;
|
||||
//增加快递记录
|
||||
if($productOrder->trans_expenses > 0){
|
||||
$platformDeliveryTotal = Ledger::find()->where(['order_id' => $this->order_id, 'user_type' => 2, 'order_type' => 1, 'fee_type' => 3])->sum('money'); // 该订单快递费用
|
||||
|
||||
@@ -20,6 +20,6 @@ if ($_GET['test']?? '' === 'liqi') {
|
||||
print_r(get_device_type());die;
|
||||
} elseif($_GET['test']?? '' === 'restartOp') {
|
||||
$result = opcache_reset();
|
||||
echo $result ? 'OPcache 已重置' : 'OPcache 重置失败';
|
||||
echo $result ? 'OPcache 已重置' : 'OPcache 重置失败';die;
|
||||
}
|
||||
(new \common\core\WebApplication($config))->run();
|
||||
|
||||
Reference in New Issue
Block a user