当前位置:网站首页>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
边栏推荐
猜你喜欢

ZEMAX | 如何倾斜和偏心序列光学元件

损失函数(第五周)

滚动条 scrollbar 和scrollbar-thumb 样式

自监督论文阅读笔记 DenseCL:Dense Contrastive Learning for Self-Supervised Visual Pre-Training

电子元器件之电子变压器可分为哪几类?

ZEMAX | 如何使用渐晕系数

影响PoE供电传输距离的除了网线还有啥?

ZEMAX | 如何围绕空间中的任何点旋转任何元素

自监督论文阅读笔记Reading and Writing: Discriminative and Generative Modelingfor Self-Supervised Text Recogn

卷积神经网络入门
随机推荐
JSP的基本使用
ZEMAX | 在 OpticStudio 中使用自由曲面进行设计
memblock
代码没写完,哪里有脸睡觉!17 张程序员壁纸推荐
classpath:与classpath*的比较
自监督论文阅读笔记 Ship Detection in Sentinel 2 Multi-Spectral Images with Self-Supervised Learning
Makefile自动推导的简单例程
A.1#【内存管理】——1.1.3 page: struct page
Delightful Nuxt3 Tutorial (2): Build a Blog Quickly and Easily
ZEMAX | 如何围绕空间中的任何点旋转任何元素
ZEMAX | 探索 OpticStudio中的序列模式
POE交换机全方位解读(中)
MySql的Sql语句的练习(试试你能写出来几道呢)
时间盲注脚本
八、抽象类的接口的区别
自监督论文阅读笔记 TASK-RELATED SELF-SUPERVISED LEARNING FOR REMOTE SENSING IMAGE CHANGE DETECTION
自监督论文阅读笔记FIAD net: a Fast SAR ship detection network based on feature integration attention and self
三分钟看懂二极管的所有基础知识点
自监督论文阅读笔记 S3Net:Self-supervised Self-ensembling Network for Semi-supervised RGB-D Salient Object Det
极光推送 能否缓存 消息