wesmiler 2 anni fa
parent
commit
88eeef8667
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      app/Http/Controllers/Api/v1/GoodsController.php

+ 1 - 1
app/Http/Controllers/Api/v1/GoodsController.php

@@ -50,7 +50,7 @@ class GoodsController extends webApp
      */
     public function info()
     {
-        $id = request()->post('id', 0);
+        $id = request()->post('goods_id', 0);
         $info = GoodsService::make()->getApiInfo($id);
         return showJson(1010, true, $info);
     }