正在显示
1 个修改的文件
包含
7 行增加
和
7 行删除
@@ -232,17 +232,17 @@ class MemberSalesController extends HomeBaseController | @@ -232,17 +232,17 @@ class MemberSalesController extends HomeBaseController | ||
232 | if(!$result) { | 232 | if(!$result) { |
233 | $this->error('电子订单生成失败'); | 233 | $this->error('电子订单生成失败'); |
234 | } | 234 | } |
235 | - $order_where = [ | ||
236 | - 'status' => 0, | ||
237 | - 'over_time' => ['egt',time()], | ||
238 | - 'delete_time' => 0 | ||
239 | - ]; | 235 | +// $order_where = [ |
236 | +// 'status' => 0, | ||
237 | +// 'over_time' => ['egt',time()], | ||
238 | +// 'delete_time' => 0 | ||
239 | +// ]; | ||
240 | $url = url('portal/Order/to_pay',[],true,true); | 240 | $url = url('portal/Order/to_pay',[],true,true); |
241 | $short_url = json_decode(file_get_contents('http://suo.im/api.php?format=json&url='.urlencode($url)),true)['url']; | 241 | $short_url = json_decode(file_get_contents('http://suo.im/api.php?format=json&url='.urlencode($url)),true)['url']; |
242 | $text = '订单确认码:'.Session::get('user_sale.number').'.点击 '.$short_url.' 或关注【宛林儿童游乐】支付.详询4001107575.'; | 242 | $text = '订单确认码:'.Session::get('user_sale.number').'.点击 '.$short_url.' 或关注【宛林儿童游乐】支付.详询4001107575.'; |
243 | $this->sendSMSS($mobile,$text); | 243 | $this->sendSMSS($mobile,$text); |
244 | - $numberList = $this->order_model->where($order_where)->column('number'); | ||
245 | - Cache::set('number',$numberList); | 244 | +// $numberList = $this->order_model->where($order_where)->column('number'); |
245 | +// Cache::set('number',$numberList); | ||
246 | $this->success('订单生成成功','',Session::get('user_sale.number')); | 246 | $this->success('订单生成成功','',Session::get('user_sale.number')); |
247 | } | 247 | } |
248 | } | 248 | } |
-
请 注册 或 登录 后发表评论