|
|
|
@ -2,6 +2,7 @@ |
|
|
|
|
|
|
|
namespace App\Http\Controllers\Api; |
|
|
|
|
|
|
|
use App\Common\PayType; |
|
|
|
use App\Common\StatementType; |
|
|
|
use App\Http\Controllers\Controller; |
|
|
|
use App\Models\Agent; |
|
|
|
@ -50,7 +51,10 @@ class VerificationController extends Controller |
|
|
|
if ($order->save()) { |
|
|
|
|
|
|
|
//分账
|
|
|
|
$this->fund($order); |
|
|
|
//线下订单不分账
|
|
|
|
if ($order->pay_type != PayType::OFFLINE) { |
|
|
|
$this->fund($order); |
|
|
|
} |
|
|
|
//短信
|
|
|
|
if (env('SMS_SWITCH', '') == true) { |
|
|
|
if (!empty($order->user->mobile)) { |
|
|
|
|