<?php namespace app\api\controller; use app\common\controller\Api; use app\common\library\Ems; use app\common\library\Sms; use fast\Random; use think\Validate; use think\Db; use think\Config; use think\Cache; use app\api\controller\Alipayserver; use app\api\controller\Drivercaultorder; require_once ROOT_PATH."/extend/alipay/aop/AopClient.php"; require_once ROOT_PATH."/extend/alipay/aop/request/AlipayTradePayRequest.php"; require_once ROOT_PATH."/extend/phpqrcode/phpqrcode.php"; /** * 支付宝支付 * Class Pay * @package app\api\controller * @author wx:lynntim */ class F2fpay extends Api { public $appid =''; //https://open.alipay.com 账户中心->密钥管理->开放平台密钥,填写添加了电脑网站支付的应用的APPID public $notifyUrl =''; //付款成功后的异步回调地址 //应用私钥 private $rsaPrivateKey=''; //应用公钥 private $publickey=''