Browse Source

类型更改

dart3_last
wurong 2 years ago
parent
commit
27468af4de
  1. 2
      lib/main.dart
  2. 8
      lib/retrofit/data/shoppingCart.dart
  3. 2
      lib/retrofit/retrofit_api.dart
  4. 0
      lib/store/shop_details_page.dart

2
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';

8
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<String, dynamic> toJson() {

2
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/";///线

0
lib/store/shop__details_page.dart → lib/store/shop_details_page.dart

Loading…
Cancel
Save