cqp hai 3 meses
pai
achega
9b25ba81ff
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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, '提拉方式错误'];