当前位置:网站首页>Automatic ticket issuance based on direct reduction of China Southern Airlines app
Automatic ticket issuance based on direct reduction of China Southern Airlines app
2022-08-03 06:10:00 【nginx】
GET/api/autocz/getUser
背景:Each phone defines a unique device name,It can then be configured with a user account and password online,用户名称
用户名称:用来判断当前czapp Check whether the login user name is the same as the configured user name.
请求参数
Parameter name position type required descriptiondeviceName
query
string
是
说明:设备名称
返回响应


2:Automatic ticketing and locking
GET/api/autocz/getOrderInfo
背景:Get the pending ticket information
jjAmount of markdown allowed: If the price reduction amount>0 The difference between the price of the reservation and the base price is in line with the allowable price reduction,继续预订,Otherwise, the ticketing fails.
如果为0,This means that price reductions are not allowed,Book directly at the base price
如果为-1,It means that there is no limit to the price reduction
Passengers are adults and the base price is compared,Children are compared at child rates
请求参数
Parameter name position type required descriptiondeviceName
query
string
否
示例值:CZ01
说明:设备01
返回响应

3:Order payment verification
GET/api/autocz/OrderCheck
背景:
1:Before generating an order, judge whether there is an interception to issue a ticket,Or the order has been manually issued.
2:Determine whether there is an interception of the ticket before paying for the order,Repeat payment and whether the payment amount exceeds the loss threshold
请求参数
Parameter name position type required descriptionorderNo
query
string
是
payAmount
query
integer
否
示例值:支付金额
说明:Required to call before payment
返回响应

4:Ticketing status notification
GET/api/autocz/StatusNotice
背景:
- There was an exception during the ticketing process,Ticketing can be retried,The state is restored to the original state through this interface,Wait until the next time to re-lock the ticket.在这一过程当中,You need to monitor the total waiting time for the order to be issued,If the timeout is too long,Consider moving to manual ticketing
- During the ticket issuance process, it has been determined that the ticket cannot be issued automatically,Directly set the order to fail to issue a ticket
Parameter name position type required descriptiontaskId
query
integer
是
说明:任务ID
orderNo
query
string
是
说明:订单号
status
query
integer
是
说明:0:重置状态,1: ticketing 2:失败 3:下单成功 4:支付成功
mark
query
string
否
说明:备注
purOrderNo
query
string
否
说明:CZTicketing order number
loginUserId
query
string
否
说明:CZ App 登录的用户
loginPwd
query
string
否
说明:CZ App 登录的密码
payAmount
query
string
否
说明:支付金额
返回响应

5:Order billing log
GET/api/autocz/OrderLog
背景: during the ticketing process,Will write some logs,方便定位问题
请求参数
Parameter name position type required descriptiontaskId
query
string
是
说明:任务ID
orderNo
query
string
是
说明:订单编号
msg
query
string
是
说明:Ticketing log
返回响应
编辑
6:Ticketing message notification
GET/api/autocz/sendMsg
开发中
背景:Straight minus inconsistency,Or the network is not strong enough 自动发消息
请求参数
Parameter name position type required descriptionmsg
query
string
是
说明:消息内容
返回响应
编辑
7:Push the ticket number
POST/api/autocz/postTicketnos
请求参数
Parameter name position type required descriptiontaskId
query
integer
是
orderNo
query
string
是
编辑
返回响应
编辑
下载地址:http://file.mail.10086.cn/share2/fileexpress/filedownload.htm?sendid=85157892382982505222826100305225
边栏推荐
猜你喜欢
自监督论文阅读笔记FIAD net: a Fast SAR ship detection network based on feature integration attention and self
JSP的基本使用
PCB设计经验之模拟电路和数字电路区别为何那么大
自监督论文阅读笔记 DetCo: Unsupervised Contrastive Learning for Object Detection
滚动条 scrollbar 和scrollbar-thumb 样式
window下VS2022封装动态库以及调用动态库
MATLAB给多组条形图添加误差棒
自我监督学习和BERT模型
Practice of MySql's Sql statement (try how many you can write)
全球一流医疗技术公司如何最大程度提高设计工作效率 | SOLIDWORKS 产品探索
随机推荐
自监督论文阅读笔记 Self-Supervised Deep Learning for Vehicle Detection in High-Resolution Satellite Imagery
八、抽象类的接口的区别
自监督论文阅读笔记Efficient Self-supervised Vision Pretraining with Local Masked Reconstruction
c#,.net 下载文件 设置断点
ZEMAX | 如何创建复杂的非序列物体
VSCODE 常见问题
借助ginput函数在figure窗口实时读取、展示多条曲线的坐标值
【第三周】ResNet+ResNeXt
关于梯度下降法的一些优化方法
自监督论文阅读笔记: MoCoV2使用动量对比学习改进基线
Mysql 存储过程详解(procedure)
MATLAB给多组条形图添加误差棒
cb板上常用的电子元器件都有哪些?
ZEMAX | 在 OpticStudio 中使用自由曲面进行设计
自监督论文阅读笔记 Ship Detection in Sentinel 2 Multi-Spectral Images with Self-Supervised Learning
IPC 通信 - IPC
opencv目标检测
double型数据转字符串后通过MCU串口发送
MMU 介绍-[TBL/page table work]
五、int和Integer有什么区别?