fastAdmin 后台
//调用微信、支付宝支付 原链接 https://blog.csdn.net/GhostWHS/article/details/113688625
//相关资料
https://blog.csdn.net/TiaoZhanJi_Xian/article/details/124259722
echo \addons\epay\library\Service::submitOrder("99.9", "订单号", "wechat", "订单标题", "回调地址", "返回地址", "支付方法"); $params = [ 'amount'=>"99.9", 'orderid'=>"订单号", 'type'=>"wechat", 'title'=>"订单标题", 'notifyurl'=>"回调地址", 'returnurl'=>"返回地址", 'method'=>"支付方法", 'openid'=>"用户的OpenID", 'auth_code'=>"验证码" ]; echo \addons\epay\library\Service::submitOrder($params);