...
|
...
|
@@ -4,6 +4,7 @@ |
|
|
namespace app\api\controller;
|
|
|
|
|
|
use addons\litestore\model\Litestoreorder;
|
|
|
use addons\wechat\library\Config as ConfigService;
|
|
|
use app\api\model\Deposit;
|
|
|
use app\api\model\DepositOrder;
|
|
|
use app\api\model\Industry;
|
...
|
...
|
@@ -167,8 +168,7 @@ class Store extends Api |
|
|
}
|
|
|
$order_sn = $param['order_sn'] = get_order_sn();
|
|
|
// 获取配置
|
|
|
$options = \config('miniprogram.basic');
|
|
|
$app = new Application($options);
|
|
|
$app = new Application(ConfigService::load());
|
|
|
$payment = $app->payment;
|
|
|
// 获取支付参数
|
|
|
$attributes = [
|
...
|
...
|
@@ -457,8 +457,7 @@ class Store extends Api |
|
|
$store = $this->get_store();
|
|
|
$order_sn = $param['order_sn'] = get_order_sn();
|
|
|
// 获取配置
|
|
|
$options = \config('miniprogram.basic');
|
|
|
$app = new Application($options);
|
|
|
$app = new Application(ConfigService::load());
|
|
|
$payment = $app->payment;
|
|
|
// 获取支付参数
|
|
|
$attributes = [
|
...
|
...
|
|