|
|
@@ -30,7 +30,7 @@ class PayController extends ControllerBase |
|
|
|
public function tradeCreateAction() |
|
|
|
{ |
|
|
|
if ($this->request->isPost()) { |
|
|
|
$args = $this->request->getJsonRawBody(true); |
|
|
|
$args = $this->request->getJsonRawBody(true); |
|
|
|
$this->logger($args, 'tradeCreate', true); |
|
|
|
|
|
|
|
$config["pay_ali_app_id"] = $args["config"]["pay_ali_app_id"] ?? "2021004101651996"; |
|
|
@@ -84,6 +84,7 @@ class PayController extends ControllerBase |
|
|
|
$this->api([ |
|
|
|
"code" => $result["data"]["code"] ?? "", |
|
|
|
"msg" => $result["data"]["msg"] ?? "", |
|
|
|
"date" => $result["data"]["send_pay_date"] ?? "", |
|
|
|
"out_trade_no" => $result["data"]["out_trade_no"] ?? "", |
|
|
|
"trade_no" => $result["data"]["trade_no"] ?? "", |
|
|
|
"trade_status" => $result["data"]["trade_status"] ?? "", |
|
|
|