apppay

支付宝支付

和自甴很熟 提交于 2020-04-21 15:51:37
<?php namespace alipay; require_once 'aop/AopClient.php'; require_once 'aop/request/AlipayTradeAppPayRequest.php'; require_once 'aop/request/AlipayTradeCreateRequest.php'; require_once 'aop/request/AlipayTradePrecreateRequest.php'; /** 支付宝支付支付 */ class alipay{ private $pay_url = ' https://openapi.alipay.com/gateway.do '; // 请求网关 /** app支付 [app_pay description] @Author 念天地之悠悠 @DateTime 2019-12-09 @param [type] $appId [description] appid @param [type] $rsaPrivateKey [description] 请填写开发者私钥去头去尾去回车,一行字符串 @param [type] $alipayrsaPublicKey [description] 请填写支付宝公钥,一行字符串 @param [type] $body [description