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"` }