24 lines
481 B
Plaintext
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"`
|
|
} |