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

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

电子订单添加优化2



查看合并请求 !219
... ... @@ -195,7 +195,6 @@ class MemberSalesController extends HomeBaseController
public function submit_form() {
if($this->request->isAjax()) {
$id = $this->request->param('id',0,'intval');
$type = $this->request->param('_type');
$data = explode(',',$this->request->param('param'));
if(!$id) {
$this->error('请选择电子订单类型');
... ... @@ -237,10 +236,10 @@ class MemberSalesController extends HomeBaseController
// '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);
// $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);
$this->success('订单生成成功','',Session::get('user_sale.number'));
... ...