wupengfei %!s(int64=3) %!d(string=hai) anos
pai
achega
f9fb29834b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      application/api/controller/General.php

+ 1 - 1
application/api/controller/General.php

@@ -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('订单提交成功,等待审核!');
     }