fusenapi/server_api/orders.api

24 lines
481 B
Plaintext
Raw Normal View History

2023-05-31 03:38:17 +00:00
syntax = "v1"
info (
2023-06-15 07:10:22 +00:00
title: "订单服务"// TODO: add title
2023-05-31 03:38:17 +00:00
desc: // TODO: add description
author: ""
email: ""
)
2023-06-15 07:10:22 +00:00
import "basic.api"
service orders {
//获取订单发票
@handler GetOrderInvoiceHandler
get /order/invoice (GetOrderInvoiceReq) returns (response);
2023-05-31 03:38:17 +00:00
}
2023-06-15 07:10:22 +00:00
//获取订单发票
type GetOrderInvoiceReq {
2023-06-15 11:14:19 +00:00
Sn string `form:"sn"`
TimeZone int64 `form:"timeZone"`
2023-05-31 03:38:17 +00:00
}
2023-06-15 07:10:22 +00:00
type GetOrderInvoiceRsp {
FileName string `json:"file_name"`
2023-06-15 11:14:19 +00:00
Pdf string `json:"pdf"`
2023-05-31 03:38:17 +00:00
}