shish 5 ani în urmă
părinte
comite
aaa40048cb
1 a modificat fișierele cu 3 adăugiri și 0 ștergeri
  1. 3 0
      app-ghs/controllers/RefundController.php

+ 3 - 0
app-ghs/controllers/RefundController.php

@@ -102,6 +102,9 @@ class RefundController extends BaseController
                 }
             }
             $post['product'] = $productList;
+        }else{
+            //如果仅退款花材直接设置为空
+            $post['product'] = '';
         }
         $post['price'] = $post['price'] ?? 0;
         if ($post['price'] <= 0) {