mark 2 жил өмнө
parent
commit
9dc4a7c877

+ 1 - 1
app/Http/Validate/Buy/BuyControllerValidate.php

@@ -60,7 +60,7 @@ class BuyControllerValidate extends BaseValidate
         $validate = Validator::make($data,
             [
                 "source"=>"required",
-                "goods_id"=>"required|integer",
+                "goods_id"=>"required",
             ]
         );
         if($validate->fails()){