当前位置:网站首页>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】
app下载地址:http://file.mail.10086.cn/share2/fileexpress/filedownload.htm?sendid=85157892382982505222826100305225 1:获取登录用户
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
背景:
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
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
边栏推荐
- cmdline -[command line,__fdt_pointer,initial_boot_params] boot_command_line 获取
- 003_旭日X3派初探:利用无线串口通信控制舵机
- 常见的电子元器件分类介绍-唯样商城
- Oracle 日历表详解(含节假日)
- 自监督论文阅读笔记Efficient Self-supervised Vision Pretraining with Local Masked Reconstruction
- 自监督论文阅读笔记 TASK-RELATED SELF-SUPERVISED LEARNING FOR REMOTE SENSING IMAGE CHANGE DETECTION
- 进程间通讯 (IPC 技术) - 信号
- 设备树(devicetree)-dts语法
- 在大程序中怎么样显示LED点阵
- Dynamic adjustment subject web system?Look at this one is enough
猜你喜欢
随机推荐
西塞罗 论老年
c#,.net 下载文件 设置断点
What is parametric design, let's understand it through practical operation?| SOLIDWORKS How-To Videos
2021-04-30
Mysql 预准备语句详解(prepare、execute、deallocate)
自监督论文阅读笔记: MoCoV2使用动量对比学习改进基线
JSP的基本使用
代码没写完,哪里有脸睡觉!17 张程序员壁纸推荐
opencv目标检测
八、抽象类的接口的区别
时间盲注脚本
观看华为AI技术领域课程--深度学习前三章总结
ASP.NET MVC3的伪静态实现
什么是参数化设计,通过实操了解一下? | SOLIDWORKS 操作视频
虚拟地址空间布局
STM32启动文件的选择
VS2022 encapsulation under Windows dynamic library and dynamic library calls
ZEMAX | 在OpticStudio中建立扩增实境(VR)头戴式显示器
ZEMAX | 如何使用渐晕系数
卷积神经网络入门