Browse Source

合并uniapp更改

zyh
w-R 3 years ago
parent
commit
42f2385e1c
  1. 8
      lib/mine/mine_view/mine_item.dart
  2. 4
      lib/retrofit/min_api.dart
  3. 4
      lib/retrofit/retrofit_api.dart
  4. 6
      lib/retrofit/retrofit_api.g.dart
  5. 1
      lib/store/store_order.dart

8
lib/mine/mine_view/mine_item.dart

@ -170,7 +170,7 @@ class _MineItem extends State<MineItem> {
),), ),),
Expanded(child: Text("")), Expanded(child: Text("")),
], ],
),), ),
Expanded(child:InkWell( Expanded(child:InkWell(
onTap: () { onTap: () {
Navigator.of(context).pushNamed('/router/qr_share', arguments: {}); Navigator.of(context).pushNamed('/router/qr_share', arguments: {});
@ -180,8 +180,6 @@ class _MineItem extends State<MineItem> {
"assets/image/icon_mine_promotion_code.png", "assets/image/icon_mine_promotion_code.png",
), ),
),), ),),
],
),
Row( Row(
children: [ children: [
Expanded(child:InkWell( Expanded(child:InkWell(
@ -197,13 +195,13 @@ class _MineItem extends State<MineItem> {
Expanded(child:Container()), Expanded(child:Container()),
Expanded(child:Container()) Expanded(child:Container())
], ],
),
],
), ),
// mineItem( // mineItem(
// S.of(context).bangzhuyufankui, // S.of(context).bangzhuyufankui,
// "assets/image/icon_mine_feedback.png", // "assets/image/icon_mine_feedback.png",
// ), // ),
],
),
); );
} }

4
lib/retrofit/min_api.dart

@ -28,8 +28,8 @@ import 'data/shopping_home_config.dart';
part 'min_api.g.dart'; part 'min_api.g.dart';
const base_url = "https://pos.api.lotus-wallet.com/app/"; /// // const base_url = "https://pos.api.lotus-wallet.com/app/"; ///
const baseUrl = "https://pos.api.lotus-wallet.com/app/"; /// // const baseUrl = "https://pos.api.lotus-wallet.com/app/"; ///
// const base_url = "http://user.prod.kunqi.lotus-wallet.com/app/"; ///222 // const base_url = "http://user.prod.kunqi.lotus-wallet.com/app/"; ///222

4
lib/retrofit/retrofit_api.dart

@ -58,8 +58,8 @@ import 'data/wx_pay.dart';
part 'retrofit_api.g.dart'; part 'retrofit_api.g.dart';
const base_url = "https://pos.platform.lotus-wallet.com/app/"; /// // const base_url = "https://pos.platform.lotus-wallet.com/app/"; ///
const baseUrl = "https://pos.platform.lotus-wallet.com/app/"; /// // const baseUrl = "https://pos.platform.lotus-wallet.com/app/"; ///
// const base_url = "http://platform.prod.kunqi.lotus-wallet.com/app/"; ///222 // const base_url = "http://platform.prod.kunqi.lotus-wallet.com/app/"; ///222
// const baseUrl = "http://platform.prod.kunqi.lotus-wallet.com/app/"; ///222 // const baseUrl = "http://platform.prod.kunqi.lotus-wallet.com/app/"; ///222

6
lib/retrofit/retrofit_api.g.dart

@ -1189,7 +1189,7 @@ class _ApiService implements ApiService {
} }
@override @override
Future<BaseData<dynamic>> orderCancel(id) async { Future<BaseData<bool>> orderCancel(id) async {
ArgumentError.checkNotNull(id, 'id'); ArgumentError.checkNotNull(id, 'id');
const _extra = <String, dynamic>{}; const _extra = <String, dynamic>{};
final queryParameters = <String, dynamic>{}; final queryParameters = <String, dynamic>{};
@ -1203,9 +1203,9 @@ class _ApiService implements ApiService {
extra: _extra, extra: _extra,
baseUrl: baseUrl), baseUrl: baseUrl),
data: _data); data: _data);
final value = BaseData<dynamic>.fromJson( final value = BaseData<bool>.fromJson(
_result.data, _result.data,
(json) => json as dynamic, (json) => json as bool,
); );
return value; return value;
} }

1
lib/store/store_order.dart

@ -488,6 +488,7 @@ class _StoreOrderPage extends State<StoreOrderPage>
), ),
], ],
), ),
),
); );
} }

Loading…
Cancel
Save