修改同程产品类型的映射
This commit is contained in:
parent
292d99125e
commit
a2fef2bc74
|
@ -209,7 +209,7 @@ public class LYOrderSyncAdapter implements SupplierOrderSync {
|
||||||
.map(legType -> switch (legType) {
|
.map(legType -> switch (legType) {
|
||||||
case LEG_TYPE_TRAIN -> 5;
|
case LEG_TYPE_TRAIN -> 5;
|
||||||
case LEG_TYPE_AIRPLANE -> 1;
|
case LEG_TYPE_AIRPLANE -> 1;
|
||||||
case LEG_TYPE_HOTEL -> 2;
|
case LEG_TYPE_HOTEL -> 3;
|
||||||
case LEG_TYPE_TAXI -> 6;
|
case LEG_TYPE_TAXI -> 6;
|
||||||
default -> legType;
|
default -> legType;
|
||||||
})
|
})
|
||||||
|
|
|
@ -14,8 +14,8 @@ chint:
|
||||||
# host: gf-jump.chint.com
|
# host: gf-jump.chint.com
|
||||||
# port: 30108
|
# port: 30108
|
||||||
# database: itinerary_booking
|
# database: itinerary_booking
|
||||||
# username: 2ef2abc6-17a9-4ba4-9dd0-6103cddd3a30
|
# username: e2b8171f-9920-4972-8f84-383ff27eee44
|
||||||
# password: dfpMqdF8ErUSDXrM
|
# password: zbPYf9CUI1ef1nhW
|
||||||
|
|
||||||
url: https://trip.chint.com/
|
url: https://trip.chint.com/
|
||||||
redis:
|
redis:
|
||||||
|
|
Loading…
Reference in New Issue