作者 刘朕
1 个管道 的构建 通过 耗费 0 秒

合并分支 '1iuzhen' 到 'master'

电子订单添加优化2



查看合并请求 !219
@@ -195,7 +195,6 @@ class MemberSalesController extends HomeBaseController @@ -195,7 +195,6 @@ class MemberSalesController extends HomeBaseController
195 public function submit_form() { 195 public function submit_form() {
196 if($this->request->isAjax()) { 196 if($this->request->isAjax()) {
197 $id = $this->request->param('id',0,'intval'); 197 $id = $this->request->param('id',0,'intval');
198 - $type = $this->request->param('_type');  
199 $data = explode(',',$this->request->param('param')); 198 $data = explode(',',$this->request->param('param'));
200 if(!$id) { 199 if(!$id) {
201 $this->error('请选择电子订单类型'); 200 $this->error('请选择电子订单类型');
@@ -237,10 +236,10 @@ class MemberSalesController extends HomeBaseController @@ -237,10 +236,10 @@ class MemberSalesController extends HomeBaseController
237 // 'over_time' => ['egt',time()], 236 // 'over_time' => ['egt',time()],
238 // 'delete_time' => 0 237 // 'delete_time' => 0
239 // ]; 238 // ];
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'];  
242 - $text = '订单确认码:'.Session::get('user_sale.number').'.点击 '.$short_url.' 或关注【宛林儿童游乐】支付.详询4001107575.';  
243 - $this->sendSMSS($mobile,$text); 239 +// $url = url('portal/Order/to_pay',[],true,true);
  240 +// $short_url = json_decode(file_get_contents('http://suo.im/api.php?format=json&url='.urlencode($url)),true)['url'];
  241 +// $text = '订单确认码:'.Session::get('user_sale.number').'.点击 '.$short_url.' 或关注【宛林儿童游乐】支付.详询4001107575.';
  242 +// $this->sendSMSS($mobile,$text);
244 // $numberList = $this->order_model->where($order_where)->column('number'); 243 // $numberList = $this->order_model->where($order_where)->column('number');
245 // Cache::set('number',$numberList); 244 // Cache::set('number',$numberList);
246 $this->success('订单生成成功','',Session::get('user_sale.number')); 245 $this->success('订单生成成功','',Session::get('user_sale.number'));