Parcourir la source

大王椰出入库

cqpCow il y a 1 an
Parent
commit
c027df9b16
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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];
         }