|
@@ -29,7 +29,7 @@ class General extends Base
|
|
|
$order_no = input('post.order_sn');
|
|
|
if(!$order_no) $this->error('请填写订单号');
|
|
|
$ck = Db::table('order_shift')->where('order_no',$order_no)->value('id');
|
|
|
- if($ck) $this->error('订单不能重复提交');
|
|
|
+ if($ck) $this->error('您已提交过相同的订单ID,请核实后重新提交,有疑问咨询专属客服哦~');
|
|
|
Db::table('order_shift')->insert(['uid'=>$this->uid,'create_at'=>date('Y-m-d H:i:s'),'order_no'=>$order_no]);
|
|
|
$this->success('订单提交成功,等待审核!');
|
|
|
}
|