1
This commit is contained in:
parent
8f75c25de6
commit
07b739dbe3
@ -42,7 +42,7 @@ class CallBackController extends AbstractController
|
|||||||
// 验证推送消息签名
|
// 验证推送消息签名
|
||||||
$app->getValidator()->validate($app->getRequest());
|
$app->getValidator()->validate($app->getRequest());
|
||||||
|
|
||||||
Log::getInstance()->info("微信支付回调数据:" . json_encode($message,JSON_UNESCAPED_UNICODE));
|
Log::getInstance()->info("微信支付回调数据:" . json_encode($message->toArray(),JSON_UNESCAPED_UNICODE));
|
||||||
|
|
||||||
if (empty($message['out_trade_no'])){
|
if (empty($message['out_trade_no'])){
|
||||||
Db::rollBack();
|
Db::rollBack();
|
||||||
|
|||||||
@ -119,7 +119,6 @@ class WechatPay
|
|||||||
]
|
]
|
||||||
];
|
];
|
||||||
|
|
||||||
dump($options);
|
|
||||||
try {
|
try {
|
||||||
$response = $app->getClient()->postJson("v3/pay/transactions/jsapi", $options);
|
$response = $app->getClient()->postJson("v3/pay/transactions/jsapi", $options);
|
||||||
if ($response->isFailed()) {
|
if ($response->isFailed()) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user