diff --git a/lib/main.dart b/lib/main.dart index 1d4b307a..58838ac9 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -59,7 +59,7 @@ import 'package:huixiang/setting/platform_pay_code_success.dart'; import 'package:huixiang/setting/setting_page.dart'; import 'package:huixiang/setting/treaty_page.dart'; import 'package:huixiang/store/report_assess%20.dart'; -import 'package:huixiang/store/shop__details_page.dart'; +import 'package:huixiang/store/shop_details_page.dart'; import 'package:huixiang/store/shopping/activity_prefecture_details.dart'; import 'package:huixiang/store/shopping/shopping_goods_details.dart'; import 'package:huixiang/store/shopping/shopping_home/bargain_details.dart'; diff --git a/lib/retrofit/data/shoppingCart.dart b/lib/retrofit/data/shoppingCart.dart index 521b7f3d..2322df3c 100644 --- a/lib/retrofit/data/shoppingCart.dart +++ b/lib/retrofit/data/shoppingCart.dart @@ -221,7 +221,7 @@ class ProductInfoList { String skuName, int buyNumber, String productId, - double sellPrice, + dynamic sellPrice, String productName,}){ _skuId = skuId; _skuName = skuName; @@ -243,13 +243,13 @@ class ProductInfoList { String _skuName; int _buyNumber; String _productId; - double _sellPrice; + dynamic _sellPrice; String _productName; ProductInfoList copyWith({ String skuId, String skuName, int buyNumber, String productId, - double sellPrice, + dynamic sellPrice, String productName, }) => ProductInfoList( skuId: skuId ?? _skuId, skuName: skuName ?? _skuName, @@ -262,7 +262,7 @@ class ProductInfoList { String get skuName => _skuName; int get buyNumber => _buyNumber; String get productId => _productId; - double get sellPrice => _sellPrice; + dynamic get sellPrice => _sellPrice; String get productName => _productName; Map toJson() { diff --git a/lib/retrofit/retrofit_api.dart b/lib/retrofit/retrofit_api.dart index 3b6f86e7..b55cfa21 100644 --- a/lib/retrofit/retrofit_api.dart +++ b/lib/retrofit/retrofit_api.dart @@ -61,7 +61,7 @@ import 'data/wx_pay.dart'; part 'retrofit_api.g.dart'; -const localBaseUrl = "http://192.168.10.129:8766/app/";///本地 +const localBaseUrl = "http://192.168.10.78:8766/app/";///本地 // const localBaseUrl = "https://2946-27-19-77-115.jp.ngrok.io/app/";///本地 const serviceBaseUrl = "https://pos.platform.lotus-wallet.com/app/";///线上 diff --git a/lib/store/shop__details_page.dart b/lib/store/shop_details_page.dart similarity index 100% rename from lib/store/shop__details_page.dart rename to lib/store/shop_details_page.dart