当前位置:网站首页>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
边栏推荐
猜你喜欢
随机推荐
快速的将结构体各成员清零
SolidWorks 操作视频 | 流体分析结果演示
new / malloc / delete / free之间的区别
ASP.NET MVC:自定义 Route
嵌入汇编-1 格式讲解
【七夕特效】 -- 满屏爱心
IPC通信 - 管道
二、Exception和Error有什么区别?
常见的电子元器件分类介绍-唯样商城
微信小程序 自定义tabBar
JSP的基本使用
神经网络之感知机
自监督论文阅读笔记 Multi-motion and Appearance Self-Supervised Moving Object Detection
Hook初探索
ZEMAX | 如何创建复杂的非序列物体
采用Trench肖特基二极管,实现功率密度的显著提升
Delightful Nuxt3 Tutorial (2): Build a Blog Quickly and Easily
003_旭日X3派初探:利用无线串口通信控制舵机
自监督论文阅读笔记 TASK-RELATED SELF-SUPERVISED LEARNING FOR REMOTE SENSING IMAGE CHANGE DETECTION
6. What is the difference between Vector, ArrayList and LinkedList?(design, performance, safety)









