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 {
Sn string `json:"sn"`
TimeZone string `json:"timeZone"`
2023-05-31 03:38:17 +00:00
}
2023-06-15 07:10:22 +00:00
type GetOrderInvoiceRsp {
FileName string `json:"file_name"`
Pdf int64 `json:"pdf"`
2023-05-31 03:38:17 +00:00
}