shish 8 ماه پیش
والد
کامیت
5f2da25acd
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      app-ghs/controllers/ProductController.php

+ 1 - 1
app-ghs/controllers/ProductController.php

@@ -41,7 +41,7 @@ class ProductController extends BaseController
     {
         $get = Yii::$app->request->get();
         $id = $get['id'] ?? 0;
-        $amount = $get['amount'] ?? 0;
+        $amount = $get['avCost'] ?? 0;
         $product = ProductClass::getById($id, true);
         if (empty($info)) {
             util::fail('没有找到花材');