From c3ed03550bcebadc91f1150c55429d7ee844dc80 Mon Sep 17 00:00:00 2001 From: Steve <34465153+xxl4@users.noreply.github.com> Date: Mon, 11 Nov 2024 13:18:02 +0800 Subject: [PATCH] fix change the space --- src/Http/Controllers/Api/ApiController.php | 4 ++-- src/Http/Controllers/Web/ProductController.php | 2 +- src/Http/Controllers/Web/ProductV2Controller.php | 2 +- src/Http/Controllers/Web/ProductV3Controller.php | 2 +- src/Http/Controllers/Web/ProductV4Controller.php | 2 +- src/Http/Controllers/Web/ProductV5Controller.php | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Http/Controllers/Api/ApiController.php b/src/Http/Controllers/Api/ApiController.php index a1540fd..fa89aa8 100644 --- a/src/Http/Controllers/Api/ApiController.php +++ b/src/Http/Controllers/Api/ApiController.php @@ -67,7 +67,7 @@ public function productDetail($slug, Request $request) { $ip_country = $request->server('HTTP_CF_IPCOUNTRY'); // currency by ip - $currency = \Nicelizhi\OneBuy\Helpers\Utils::getCurrencyByCountry($ip_country); + $currency = \NexaMerchant\CheckoutOneBuy\Helpers\Utils::getCurrencyByCountry($ip_country); $currency_get = $request->input('currency'); if(!empty($currency_get)) { @@ -130,7 +130,7 @@ public function productDetail($slug, Request $request) { } $package_products = []; - $package_products = \Nicelizhi\OneBuy\Helpers\Utils::makeProducts($product, [2,1,3,4]); + $package_products = \NexaMerchant\CheckoutOneBuy\Helpers\Utils::makeProducts($product, [2,1,3,4]); $product = new ProductResource($product); $data['product'] = $product; $data['package_products'] = $package_products; diff --git a/src/Http/Controllers/Web/ProductController.php b/src/Http/Controllers/Web/ProductController.php index cd2af0a..8d4e25c 100644 --- a/src/Http/Controllers/Web/ProductController.php +++ b/src/Http/Controllers/Web/ProductController.php @@ -99,7 +99,7 @@ public function detail($slug, Request $request) { // 四个商品的价格情况 $package_products = []; $productBaseImage = product_image()->getProductBaseImage($product); - $package_products = \Nicelizhi\OneBuy\Helpers\Utils::makeProducts($product, [2,1,3,4]); + $package_products = \NexaMerchant\CheckoutOneBuy\Helpers\Utils::makeProducts($product, [2,1,3,4]); // 获取 faq 数据 $redis = Redis::connection('default'); diff --git a/src/Http/Controllers/Web/ProductV2Controller.php b/src/Http/Controllers/Web/ProductV2Controller.php index 6ed20c0..e1c5175 100644 --- a/src/Http/Controllers/Web/ProductV2Controller.php +++ b/src/Http/Controllers/Web/ProductV2Controller.php @@ -92,7 +92,7 @@ public function detail($slug, Request $request) { $package_products = []; $productBaseImage = product_image()->getProductBaseImage($product); //$package_products = $this->makeProducts($product, [2,1,3,4]); - $package_products = \Nicelizhi\OneBuy\Helpers\Utils::makeProducts($product, [2,1,3,4]); + $package_products = \NexaMerchant\CheckoutOneBuy\Helpers\Utils::makeProducts($product, [2,1,3,4]); // skus 数据 diff --git a/src/Http/Controllers/Web/ProductV3Controller.php b/src/Http/Controllers/Web/ProductV3Controller.php index 83ba3fe..7b42d30 100644 --- a/src/Http/Controllers/Web/ProductV3Controller.php +++ b/src/Http/Controllers/Web/ProductV3Controller.php @@ -93,7 +93,7 @@ public function detail($slug, Request $request) { $package_products = []; $productBaseImage = product_image()->getProductBaseImage($product); //$package_products = $this->makeProducts($product, [2,1,3,4]); - $package_products = \Nicelizhi\OneBuy\Helpers\Utils::makeProducts($product, [2,1,3,4]); + $package_products = \NexaMerchant\CheckoutOneBuy\Helpers\Utils::makeProducts($product, [2,1,3,4]); // 获取 faq 数据 $redis = Redis::connection('default'); diff --git a/src/Http/Controllers/Web/ProductV4Controller.php b/src/Http/Controllers/Web/ProductV4Controller.php index 16865fb..62d405b 100644 --- a/src/Http/Controllers/Web/ProductV4Controller.php +++ b/src/Http/Controllers/Web/ProductV4Controller.php @@ -90,7 +90,7 @@ public function detail($slug, Request $request) { $package_products = []; $productBaseImage = product_image()->getProductBaseImage($product); - $package_products = \Nicelizhi\OneBuy\Helpers\Utils::makeProducts($product, [2,1,3,4]); + $package_products = \NexaMerchant\CheckoutOneBuy\Helpers\Utils::makeProducts($product, [2,1,3,4]); $skus = []; diff --git a/src/Http/Controllers/Web/ProductV5Controller.php b/src/Http/Controllers/Web/ProductV5Controller.php index bb0f362..11d8e36 100644 --- a/src/Http/Controllers/Web/ProductV5Controller.php +++ b/src/Http/Controllers/Web/ProductV5Controller.php @@ -92,7 +92,7 @@ public function detail($slug, Request $request) { $package_products = []; $productBaseImage = product_image()->getProductBaseImage($product); - $package_products = \Nicelizhi\OneBuy\Helpers\Utils::makeProducts($product, [2,1,3,4]); + $package_products = \NexaMerchant\CheckoutOneBuy\Helpers\Utils::makeProducts($product, [2,1,3,4]); $skus = [];