Ver Fonte

Merge branch 'master-new-dev-wf' of wugg/phpstock into master-new

wufeng há 1 ano atrás
pai
commit
5c8fe6045b
1 ficheiros alterados com 3 adições e 0 exclusões
  1. 3 0
      app/admin/controller/Sale.php

+ 3 - 0
app/admin/controller/Sale.php

@@ -5299,6 +5299,9 @@ class Sale extends Base
         } catch (\think\Exception $exception) {
             Db::rollback();
             return json_show(1004, $exception->getMessage());
+        }catch (Exception $exception){
+            Db::rollback();
+            return json_show(1004, $exception->getMessage());
         }
 
     }