Browse Source

订单不能重复反馈

lizhen_gitee 6 tháng trước cách đây
mục cha
commit
bda0b085cd
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      application/api/controller/doctor/Wenzhen.php

+ 4 - 0
application/api/controller/doctor/Wenzhen.php

@@ -552,6 +552,10 @@ class Wenzhen extends Apic
             $this->error('该订单不能反馈结果');
         }
 
+        if(!empty($wenzhen_order['feedback_time'])){
+            $this->error('已经反馈过了,不需要重复反馈');
+        }
+
         //修改订单
         $nowtime = time();
         $update = [