fusenapi/server_api/orders.api
laodaming 57dd04ea27 1
2023-06-15 15:10:22 +08:00

24 lines
481 B
Plaintext

syntax = "v1"
info (
title: "订单服务"// TODO: add title
desc: // TODO: add description
author: ""
email: ""
)
import "basic.api"
service orders {
//获取订单发票
@handler GetOrderInvoiceHandler
get /order/invoice (GetOrderInvoiceReq) returns (response);
}
//获取订单发票
type GetOrderInvoiceReq {
Sn string `json:"sn"`
TimeZone string `json:"timeZone"`
}
type GetOrderInvoiceRsp {
FileName string `json:"file_name"`
Pdf int64 `json:"pdf"`
}