This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Website you intended to retrieve for users. | |
const upstream = 'api.openai.com' | |
// Custom pathname for the upstream website. | |
const upstream_path = '/' | |
// Website you intended to retrieve for users using mobile devices. | |
const upstream_mobile = upstream | |
// Countries and regions where you wish to suspend your service. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 要买票的乘客的索引号,购票页面乘客所在的位置 -1 */ | |
let passengers = [3, 6, 7, 12, 13]; | |
/* 座位类型 */ | |
let seatType = '硬卧'; | |
let passengerSeatTypes = Array.from(passengers.keys()).map(index => index + 1); | |
let seatTypeMap = new Map([['硬座', 1], ['软座', 2], ['硬卧', 3], ['软卧', 4]]); |