Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

小程序要怎么用 #17

Open
jtshushu opened this issue Jul 8, 2020 · 0 comments
Open

小程序要怎么用 #17

jtshushu opened this issue Jul 8, 2020 · 0 comments

Comments

@jtshushu
Copy link

jtshushu commented Jul 8, 2020

$out_trade_no =trade_no();
$unifiedOrder = new WxPayUnifiedOrder();
$unifiedOrder->SetBody($subject);//商品或支付单简要描述
$unifiedOrder->SetOut_trade_no($out_trade_no);
$unifiedOrder->SetTotal_fee($total);
$unifiedOrder->SetTrade_type("JSAPI");
调用不出来小程序

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant