Explorar el Código

wesmiler 报恩寺项目提交

wesmiler hace 4 años
padre
commit
2beb6f7350
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      app/Services/EnshrineService.php

+ 1 - 0
app/Services/EnshrineService.php

@@ -566,6 +566,7 @@ class EnshrineService extends BaseService
         if ($total > 0) {
 
             if ($memberInfo->coupon < $total) {
+                \DB::rollBack();
                 return message("账户花灯券不足,请先充值", false, [], 10003);
             }