Merge branch 'master' of http://111.229.174.37:3000/Food/food_server
This commit is contained in:
commit
273815cab2
@ -14,6 +14,16 @@ class PayController extends PublicController
|
|||||||
* @description: 子类的初始化
|
* @description: 子类的初始化
|
||||||
*/
|
*/
|
||||||
public function _initialize()
|
public function _initialize()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @description: Yansongda pay类的参数
|
||||||
|
*/
|
||||||
|
protected $config;
|
||||||
|
/**
|
||||||
|
* @description: 发起小程序支付
|
||||||
|
*/
|
||||||
|
public function pay()
|
||||||
{
|
{
|
||||||
//父级构造函数
|
//父级构造函数
|
||||||
parent::_initialize();
|
parent::_initialize();
|
||||||
@ -45,16 +55,7 @@ class PayController extends PublicController
|
|||||||
'connect_timeout' => 5.0,
|
'connect_timeout' => 5.0,
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @description: Yansongda pay类的参数
|
|
||||||
*/
|
|
||||||
protected $config;
|
|
||||||
/**
|
|
||||||
* @description: 发起小程序支付
|
|
||||||
*/
|
|
||||||
public function pay()
|
|
||||||
{
|
|
||||||
//获取订单信息
|
//获取订单信息
|
||||||
$where['order_sn'] = $_REQUEST['order_sn'];
|
$where['order_sn'] = $_REQUEST['order_sn'];
|
||||||
$orderDb = D('order');
|
$orderDb = D('order');
|
||||||
|
Loading…
Reference in New Issue
Block a user