cqp 3 tháng trước cách đây
mục cha
commit
9b25ba81ff
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/Service/OrderService.php

+ 1 - 1
app/Service/OrderService.php

@@ -1006,7 +1006,7 @@ class OrderService extends Service
         if(empty($data['tl_type'])) return [false, '提拉类型不能为空'];
         if(! isset(ReminderRecord::$tl_type_name[$data['tl_type']])) return [false, '提拉类型错误'];
         if(empty($data['tl_result'])) return [false, '提拉结果不能为空'];
-        if(isset(ReminderRecord::$tl_result_name[$data['tl_result']])) return [false, '提拉结果错误'];
+        if(! isset(ReminderRecord::$tl_result_name[$data['tl_result']])) return [false, '提拉结果错误'];
         if($data['tl_result'] == ReminderRecord::tl_result_one){
             if(empty($data['tl_ways'])) return [false, '提拉方式不能为空'];
             if(isset(ReminderRecord::$tl_way_name[$data['tl_ways']])) return [false, '提拉方式错误'];