更新目录
This commit is contained in:
@@ -37,16 +37,15 @@ class UnionPayController extends Controller
|
||||
{
|
||||
|
||||
$inputs = $request->all();
|
||||
$sign = $inputs['sign'];
|
||||
unset($inputs['sign']);
|
||||
$action = new UnionPay($inputs, $sign);
|
||||
|
||||
$action->addLog();
|
||||
$action->start();
|
||||
$app = app('xuanchen.unionpay');
|
||||
$app->setParams($inputs);
|
||||
|
||||
$action->updateLog();
|
||||
$app->addLog();
|
||||
$app->start();
|
||||
$app->updateLog();
|
||||
|
||||
return $action->respond();
|
||||
return $app->respond();
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user