...
|
...
|
@@ -1058,10 +1058,6 @@ class Store extends Api |
|
|
$deposit = $this->deposit_model->findOrFail(['id'=>$param['deposit_id']]);
|
|
|
$order_sn = $param['order_sn'] = get_order_sn();
|
|
|
$pay_data = [];
|
|
|
if($this->auth->end_time > time()) {
|
|
|
$param['status'] = 2;
|
|
|
} else {
|
|
|
$param['status'] = 1;
|
|
|
// 获取小程序配置
|
|
|
$options = \config('miniprogram.basic');
|
|
|
$app = new Application($options);
|
...
|
...
|
@@ -1084,7 +1080,6 @@ class Store extends Api |
|
|
} else {
|
|
|
$this->error($order_result['return_msg']);
|
|
|
}
|
|
|
}
|
|
|
$model = $this->deposit_order_model;
|
|
|
Db::startTrans();
|
|
|
$result = false;
|
...
|
...
|
|