fusenapi/server_api/orders.api
laodaming 4a5d84fb22 fix
2023-06-15 19:14:19 +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 `form:"sn"`
TimeZone int64 `form:"timeZone"`
}
type GetOrderInvoiceRsp {
FileName string `json:"file_name"`
Pdf string `json:"pdf"`
}