diff --git a/FlyCube/Api/Controller/PayController.class.php b/FlyCube/Api/Controller/PayController.class.php index fafc12a..3bde13b 100644 --- a/FlyCube/Api/Controller/PayController.class.php +++ b/FlyCube/Api/Controller/PayController.class.php @@ -14,6 +14,16 @@ class PayController extends PublicController * @description: 子类的初始化 */ public function _initialize() + { + } + /** + * @description: Yansongda pay类的参数 + */ + protected $config; + /** + * @description: 发起小程序支付 + */ + public function pay() { //父级构造函数 parent::_initialize(); @@ -45,16 +55,7 @@ class PayController extends PublicController 'connect_timeout' => 5.0, ], ]; - } - /** - * @description: Yansongda pay类的参数 - */ - protected $config; - /** - * @description: 发起小程序支付 - */ - public function pay() - { + //获取订单信息 $where['order_sn'] = $_REQUEST['order_sn']; $orderDb = D('order');