文件地址:app\controller\api\v1\order\StoreOrderController.php
行數(shù):445行左右
修改一下代碼:
$isChannel = $this->getChennel[$from] ?? ($request->isApp() ? 0 : 1);
//緩存不存在 || 切換另一端支付
if (!CacheService::get('pay_' . $order['order_id']) || $isChannel != $order['is_channel']) {
如圖: