diff --git a/lib/pages/buy_tickets/functions/passager_func.dart b/lib/pages/buy_tickets/functions/passager_func.dart index 52a29c7..1f9b8f8 100644 --- a/lib/pages/buy_tickets/functions/passager_func.dart +++ b/lib/pages/buy_tickets/functions/passager_func.dart @@ -97,7 +97,7 @@ class PassagerFunc { 'id': UserManager.instance.user.info.id, 'from': from, 'item_id': itemId, - 'date': '2021-08-03', + 'date': '2021-08-21', 'to': to }); if (result.data != null) { diff --git a/lib/pages/buy_tickets/models/airline_model.dart b/lib/pages/buy_tickets/models/airline_model.dart index bf1dee2..db45888 100644 --- a/lib/pages/buy_tickets/models/airline_model.dart +++ b/lib/pages/buy_tickets/models/airline_model.dart @@ -66,15 +66,15 @@ class Airline { String flightCompanyCode; String flightNo; String planeType; - int adultAirportTax; - int adultFuelTax; + num adultAirportTax; + num adultFuelTax; String depTime; String arriTime; String orgCity; String orgCityName; String dstCity; String dstCityName; - int basePrice; + num basePrice; AirSeats airSeats; Airline( @@ -163,17 +163,17 @@ class AirSeat { String seatMsg; String seatStatus; Null serviceLevel; - double settlePrice; + num settlePrice; Null changePercentAfter; Null changePercentBefore; Null changeStipulate; Null changeTimePoint; - double commisionMoney; + num commisionMoney; String commisionPoint; - double discount; + num discount; bool hasQueryedStipulate; - int parPrice; - int policyId; + num parPrice; + num policyId; Null refundPercentBefore; Null refundPercentAfter; String refundStipulate; diff --git a/pubspec.lock b/pubspec.lock index 09004c8..b5a52be 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -56,7 +56,7 @@ packages: name: async url: "https://pub.flutter-io.cn" source: hosted - version: "2.5.0" + version: "2.6.1" audio_session: dependency: transitive description: @@ -1031,12 +1031,10 @@ packages: photo: dependency: "direct main" description: - path: "." - ref: patch-1 - resolved-ref: "8109f390d338d501d0734343dd0bc3690b1be8c5" - url: "https://github.com/customPub/flutter_photo" - source: git - version: "0.5.0" + name: photo + url: "https://pub.flutter-io.cn" + source: hosted + version: "0.5.0-dev.1" photo_manager: dependency: transitive description: @@ -1253,7 +1251,7 @@ packages: name: source_span url: "https://pub.flutter-io.cn" source: hosted - version: "1.8.0" + version: "1.8.1" sp_util: dependency: transitive description: @@ -1341,7 +1339,7 @@ packages: name: test_api url: "https://pub.flutter-io.cn" source: hosted - version: "0.2.19" + version: "0.3.0" timeline_tile: dependency: "direct main" description: diff --git a/pubspec.yaml b/pubspec.yaml index 0ab41c3..a0fcc60 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -172,10 +172,11 @@ dependencies: # ref: 4073e1ff7db967aad4f97f0eee5909c5f8f339b5 # 图片选择 - photo: - git: - url: https://github.com/customPub/flutter_photo - ref: patch-1 + # photo: + # git: + # url: https://github.com/customPub/flutter_photo + # ref: patch-1 + photo: 0.5.0-dev.1 # wechat_assets_picker: ^2.2.0+2 image_gallery_saver: 1.6.9