This commit is contained in:
Hankin 2026-04-21 11:16:49 +08:00
parent 668edde221
commit 35aa6b24f9

View File

@ -316,10 +316,10 @@ class WechatController extends Controller
{ {
$url = config("app.url") . "/go/api/order/callback/virtual"; $url = config("app.url") . "/go/api/order/callback/virtual";
$arr = [ $arr = [
"user_id" => $message["OutTradeNo"], "orderNo" => $message["OutTradeNo"],
"productId" => $message["GoodsInfo"]["ProductId"], "productId" => $message["GoodsInfo"]["ProductId"],
"quantity" => $message["GoodsInfo"]["Quantity"], "quantity" => (int) $message["GoodsInfo"]["Quantity"],
"goodsPrice" => $message["GoodsInfo"]["ActualPrice"], "goodsPrice" => (int) $message["GoodsInfo"]["ActualPrice"],
"token" => "uftx_xpay_goods_deliver_notify", "token" => "uftx_xpay_goods_deliver_notify",
]; ];
$client = new Client(); $client = new Client();