add 报关api文档

master
luoyang 5 years ago
parent 0a50e52c15
commit fadfae50d5

@ -960,6 +960,19 @@
* @apiSuccess {String} last_update_date 更新时间 * @apiSuccess {String} last_update_date 更新时间
* @apiSuccess {String} error_code 错误代码 * @apiSuccess {String} error_code 错误代码
* @apiSuccess {String} error_msg 错误返回的信息描述 * @apiSuccess {String} error_msg 错误返回的信息描述
* @apiSuccess {String} verify_department 验核机构
* @apiSuccess {String} verify_department_trade_id 验核机构交易流水号
* @apiSuccess {JSON[]} sub_orders 拆单信息(可能返回多个)
*
* @apiParam (SUB_JSON) {String} sub_order_no 商户子订单号
* @apiParam (SUB_JSON) {String=CNY} fee_type=CNY 币种代码
* @apiParam (SUB_JSON) {Double} order_fee 子订单金额
* @apiParam (SUB_JSON) {Double} transport_fee 子订单物流金额
* @apiParam (SUB_JSON) {String} verify_department 验核机构
* @apiParam (SUB_JSON) {String} verify_department_trade_id 验核机构交易流水号
* @apiParam (SUB_JSON) {String} report_status 报关单状态: PROCCESSING,SUBMITED,FAILED,SUCCESS
* @apiParam (SUB_JSON) {String} error_code 错误代码
* @apiParam (SUB_JSON) {String} error_msg 错误返回的信息描述
* *
* @apiUse GlobalError * @apiUse GlobalError
* @apiError (ERROR_CODE) ORDER_MISMATCH 订单号与商户不匹配 * @apiError (ERROR_CODE) ORDER_MISMATCH 订单号与商户不匹配
@ -995,6 +1008,19 @@
* @apiSuccess {String} last_update_date 更新时间 * @apiSuccess {String} last_update_date 更新时间
* @apiSuccess {String} error_code 错误代码 * @apiSuccess {String} error_code 错误代码
* @apiSuccess {String} error_msg 错误返回的信息描述 * @apiSuccess {String} error_msg 错误返回的信息描述
* @apiSuccess {String} verify_department 验核机构
* @apiSuccess {String} verify_department_trade_id 验核机构交易流水号
* @apiSuccess {JSON[]} sub_orders 拆单信息(可能返回多个)
*
* @apiParam (SUB_JSON) {String} sub_order_no 商户子订单号
* @apiParam (SUB_JSON) {String=CNY} fee_type=CNY 币种代码
* @apiParam (SUB_JSON) {Double} order_fee 子订单金额
* @apiParam (SUB_JSON) {Double} transport_fee 子订单物流金额
* @apiParam (SUB_JSON) {String} verify_department 验核机构
* @apiParam (SUB_JSON) {String} verify_department_trade_id 验核机构交易流水号
* @apiParam (SUB_JSON) {String} report_status 报关单状态: PROCCESSING,SUBMITED,FAILED,SUCCESS
* @apiParam (SUB_JSON) {String} error_code 错误代码
* @apiParam (SUB_JSON) {String} error_msg 错误返回的信息描述
* *
* @apiUse GlobalError * @apiUse GlobalError
* @apiError (ERROR_CODE) ORDER_MISMATCH 订单号与商户不匹配 * @apiError (ERROR_CODE) ORDER_MISMATCH 订单号与商户不匹配
@ -1021,6 +1047,19 @@
* @apiSuccess {String} return_msg 错误描述仅在执行结果不为SUCCESS情况下出现 * @apiSuccess {String} return_msg 错误描述仅在执行结果不为SUCCESS情况下出现
* @apiSuccess {String} order_id RoyalPay订单号 * @apiSuccess {String} order_id RoyalPay订单号
* @apiSuccess {String} partner_order_id 商户订单ID * @apiSuccess {String} partner_order_id 商户订单ID
* @apiSuccess {String} verify_department 验核机构
* @apiSuccess {String} verify_department_trade_id 验核机构交易流水号
* @apiSuccess {JSON[]} sub_orders 拆单信息(可能返回多个)
*
* @apiParam (SUB_JSON) {String} sub_order_no 商户子订单号
* @apiParam (SUB_JSON) {String=CNY} fee_type=CNY 币种代码
* @apiParam (SUB_JSON) {Double} order_fee 子订单金额
* @apiParam (SUB_JSON) {Double} transport_fee 子订单物流金额
* @apiParam (SUB_JSON) {String} verify_department 验核机构
* @apiParam (SUB_JSON) {String} verify_department_trade_id 验核机构交易流水号
* @apiParam (SUB_JSON) {String} report_status 报关单状态: PROCCESSING,SUBMITED,FAILED,SUCCESS
* @apiParam (SUB_JSON) {String} error_code 错误代码
* @apiParam (SUB_JSON) {String} error_msg 错误返回的信息描述
* *
* @apiUse GlobalError * @apiUse GlobalError
* @apiError (ERROR_CODE) ORDER_MISMATCH 订单号与商户不匹配 * @apiError (ERROR_CODE) ORDER_MISMATCH 订单号与商户不匹配

@ -978,6 +978,19 @@
* @apiSuccess {String} last_update_date Update Time * @apiSuccess {String} last_update_date Update Time
* @apiSuccess {String} error_code Error Code * @apiSuccess {String} error_code Error Code
* @apiSuccess {String} error_msg Error Description * @apiSuccess {String} error_msg Error Description
* @apiSuccess {String} verify_department Verify Department
* @apiSuccess {String} verify_department_trade_id Verify Department Trade Id
* @apiSuccess {JSON[]} sub_orders sub_order Child orders
*
* @apiParam (SUB_JSON) {String} sub_order_no Child order ID
* @apiParam (SUB_JSON) {String=CNY} fee_type=CNY Currency
* @apiParam (SUB_JSON) {Double} order_fee Child Order Amount
* @apiParam (SUB_JSON) {Double} transport_fee Child Order Logistics Amount
* @apiParam (SUB_JSON) {String} verify_department Verify Department
* @apiParam (SUB_JSON) {String} verify_department_trade_id Verify Department Trade Id
* @apiParam (SUB_JSON) {String} report_status 0:PROCCESSING,1:SUBMITED,2:FAIL,3:SUCCESS
* @apiParam (SUB_JSON) {String} error_code Error Code
* @apiParam (SUB_JSON) {String} error_msg Error Description
* *
* @apiUse GlobalError * @apiUse GlobalError
* @apiError (ERROR_CODE) ORDER_MISMATCH Order is not belong to this partner * @apiError (ERROR_CODE) ORDER_MISMATCH Order is not belong to this partner
@ -1013,6 +1026,19 @@
* @apiSuccess {String} last_update_date Update Time * @apiSuccess {String} last_update_date Update Time
* @apiSuccess {String} error_code Error Code * @apiSuccess {String} error_code Error Code
* @apiSuccess {String} error_msg Error Description * @apiSuccess {String} error_msg Error Description
* @apiSuccess {String} verify_department Verify Department
* @apiSuccess {String} verify_department_trade_id Verify Department Trade Id
* @apiSuccess {JSON[]} sub_orders sub_order Child orders
*
* @apiParam (SUB_JSON) {String} sub_order_no Child order ID
* @apiParam (SUB_JSON) {String=CNY} fee_type=CNY Currency
* @apiParam (SUB_JSON) {Double} order_fee Child Order Amount
* @apiParam (SUB_JSON) {Double} transport_fee Child Order Logistics Amount
* @apiParam (SUB_JSON) {String} verify_department Verify Department
* @apiParam (SUB_JSON) {String} verify_department_trade_id Verify Department Trade Id
* @apiParam (SUB_JSON) {String} report_status 0:PROCCESSING,1:SUBMITED,2:FAIL,3:SUCCESS
* @apiParam (SUB_JSON) {String} error_code Error Code
* @apiParam (SUB_JSON) {String} error_msg Error Description
* *
* @apiUse GlobalError * @apiUse GlobalError
* @apiError (ERROR_CODE) ORDER_MISMATCH Order is not belong to this partner * @apiError (ERROR_CODE) ORDER_MISMATCH Order is not belong to this partner
@ -1039,6 +1065,19 @@
* @apiSuccess {String} return_msg Error Description * @apiSuccess {String} return_msg Error Description
* @apiSuccess {String} order_id RoyalPay Order ID * @apiSuccess {String} order_id RoyalPay Order ID
* @apiSuccess {String} partner_order_id Partner Order ID * @apiSuccess {String} partner_order_id Partner Order ID
* @apiSuccess {String} verify_department Verify Department
* @apiSuccess {String} verify_department_trade_id Verify Department Trade Id
* @apiSuccess {JSON[]} sub_orders sub_order Child orders
*
* @apiParam (SUB_JSON) {String} sub_order_no Child order ID
* @apiParam (SUB_JSON) {String=CNY} fee_type=CNY Currency
* @apiParam (SUB_JSON) {Double} order_fee Child Order Amount
* @apiParam (SUB_JSON) {Double} transport_fee Child Order Logistics Amount
* @apiParam (SUB_JSON) {String} verify_department Verify Department
* @apiParam (SUB_JSON) {String} verify_department_trade_id Verify Department Trade Id
* @apiParam (SUB_JSON) {String} report_status 0:PROCCESSING,1:SUBMITED,2:FAIL,3:SUCCESS
* @apiParam (SUB_JSON) {String} error_code Error Code
* @apiParam (SUB_JSON) {String} error_msg Error Description
* *
* @apiUse GlobalError * @apiUse GlobalError
* @apiError (ERROR_CODE) ORDER_MISMATCH Order is not belong to this partner * @apiError (ERROR_CODE) ORDER_MISMATCH Order is not belong to this partner

Loading…
Cancel
Save