当前位置:网站首页>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
边栏推荐
- 自监督论文阅读笔记 DetCo: Unsupervised Contrastive Learning for Object Detection
- 自监督论文阅读笔记 TASK-RELATED SELF-SUPERVISED LEARNING FOR REMOTE SENSING IMAGE CHANGE DETECTION
- 6. What is the difference between Vector, ArrayList and LinkedList?(design, performance, safety)
- Qemu 搭建Armv8 平台
- JSP的基本使用
- ucos任务调度原理
- 三分钟看懂二极管的所有基础知识点
- 虚拟地址空间布局
- 5. What is the difference between int and Integer?
- ZEMAX | 如何创建复杂的非序列物体
猜你喜欢
What is parametric design, let's understand it through practical operation?| SOLIDWORKS How-To Videos
window下VS2022封装动态库以及调用动态库
自监督论文阅读笔记Reading and Writing: Discriminative and Generative Modelingfor Self-Supervised Text Recogn
002_旭日X3派初探:TogetherROS安装
POE交换机全方位解读(中)
神经网络基础
自监督论文阅读笔记 DenseCL:Dense Contrastive Learning for Self-Supervised Visual Pre-Training
[frp intranet penetration]
ZEMAX | 如何使用渐晕系数
ucos任务调度原理
随机推荐
php连接数据库脚本
ZEMAX | 在 OpticStudio 中使用自由曲面进行设计
动漫 吞噬星空
Makefile自动推导的简单例程
ZEMAX | 如何创建复杂的非序列物体
卷积神经网络入门
A.1#【内存管理】——1.1.2 zone: struct zone
pandoc -crossref插件实现markdwon文档转word后公式编号自定义
block底层探索
深度学习理论课程第四、五章总结
自监督论文阅读笔记 Multi-motion and Appearance Self-Supervised Moving Object Detection
002_旭日X3派初探:TogetherROS安装
自监督论文阅读笔记SELF-SUPERVISED SPECTRAL MATCHING NETWORK FOR HYPERSPECTRAL TARGET DETECTION
MySql【后面附有练习题】
ZEMAX | 探索 OpticStudio中的序列模式
解决Gradle Download缓慢的百种方法
自监督论文阅读笔记 Ship Detection in Sentinel 2 Multi-Spectral Images with Self-Supervised Learning
快速的将结构体各成员清零
虚拟地址空间布局
page fault-页异常流程