cqpCow преди 1 година
родител
ревизия
c027df9b16
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      app/Service/InOutOptionService.php

+ 2 - 0
app/Service/InOutOptionService.php

@@ -74,6 +74,7 @@ class InOutOptionService extends Service
                     'direction' => '1',
                 ];
             }
+            Redis::del($key);
             return [true, $result];
         }
 
@@ -88,6 +89,7 @@ class InOutOptionService extends Service
                     'direction' => '2',
                 ];
             }
+            Redis::del($key);
             return [true, $result];
         }