正在显示
1 个修改的文件
包含
0 行增加
和
5 行删除
@@ -1058,10 +1058,6 @@ class Store extends Api | @@ -1058,10 +1058,6 @@ class Store extends Api | ||
1058 | $deposit = $this->deposit_model->findOrFail(['id'=>$param['deposit_id']]); | 1058 | $deposit = $this->deposit_model->findOrFail(['id'=>$param['deposit_id']]); |
1059 | $order_sn = $param['order_sn'] = get_order_sn(); | 1059 | $order_sn = $param['order_sn'] = get_order_sn(); |
1060 | $pay_data = []; | 1060 | $pay_data = []; |
1061 | - if($this->auth->end_time > time()) { | ||
1062 | - $param['status'] = 2; | ||
1063 | - } else { | ||
1064 | - $param['status'] = 1; | ||
1065 | // 获取小程序配置 | 1061 | // 获取小程序配置 |
1066 | $options = \config('miniprogram.basic'); | 1062 | $options = \config('miniprogram.basic'); |
1067 | $app = new Application($options); | 1063 | $app = new Application($options); |
@@ -1084,7 +1080,6 @@ class Store extends Api | @@ -1084,7 +1080,6 @@ class Store extends Api | ||
1084 | } else { | 1080 | } else { |
1085 | $this->error($order_result['return_msg']); | 1081 | $this->error($order_result['return_msg']); |
1086 | } | 1082 | } |
1087 | - } | ||
1088 | $model = $this->deposit_order_model; | 1083 | $model = $this->deposit_order_model; |
1089 | Db::startTrans(); | 1084 | Db::startTrans(); |
1090 | $result = false; | 1085 | $result = false; |
-
请 注册 或 登录 后发表评论