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

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

订单添加优化



查看合并请求 !218
... ... @@ -232,17 +232,17 @@ class MemberSalesController extends HomeBaseController
if(!$result) {
$this->error('电子订单生成失败');
}
$order_where = [
'status' => 0,
'over_time' => ['egt',time()],
'delete_time' => 0
];
// $order_where = [
// 'status' => 0,
// 'over_time' => ['egt',time()],
// 'delete_time' => 0
// ];
$url = url('portal/Order/to_pay',[],true,true);
$short_url = json_decode(file_get_contents('http://suo.im/api.php?format=json&url='.urlencode($url)),true)['url'];
$text = '订单确认码:'.Session::get('user_sale.number').'.点击 '.$short_url.' 或关注【宛林儿童游乐】支付.详询4001107575.';
$this->sendSMSS($mobile,$text);
$numberList = $this->order_model->where($order_where)->column('number');
Cache::set('number',$numberList);
// $numberList = $this->order_model->where($order_where)->column('number');
// Cache::set('number',$numberList);
$this->success('订单生成成功','',Session::get('user_sale.number'));
}
}
... ...