feat:新增订单发票,下单地址调整

This commit is contained in:
momo
2023-10-17 18:32:43 +08:00
parent 0310a6bd21
commit 6ae2cce870
23 changed files with 848 additions and 59 deletions

View File

@@ -24,7 +24,10 @@ service order {
post /api/order/delete(DeleteOrderReq) returns (response);
@handler CloseOrderHandler
post /api/order/close(CloseOrderReq) returns (response);
post /api/order/close(CloseOrderReq) returns (response)
@handler OrderInvoiceHandler
get /api/order/invoice(OrderInvoiceReq) returns (response);
@handler OrderListHandler
get /api/order/list(OrderListReq) returns (response);
@@ -34,6 +37,12 @@ service order {
}
type (
OrderInvoiceReq {
OrderSn string `form:"order_sn"`
}
)
type (
CloseOrderReq {
OrderSn string `json:"order_sn"`
@@ -60,9 +69,14 @@ type CreatePrePaymentByDepositReq {
}
type DeliveryAddress {
Address string `json:"address,optional"`
Name string `json:"name,optional"`
Mobile string `json:"mobile,optional"`
Street string `json:"street,optional"` // 街道
City string `json:"city,optional"` // 城市
FirstName string `json:"first_name,optional"` // 姓
LastName string `json:"last_name,optional"` // 名
Mobile string `json:"mobile,optional"` // 手机
State string `json:"state,optional"` // 州
Suite string `json:"suite,optional"` // 房号
ZipCode string `json:"zip_code,optional"` // 邮编
}
type CreatePrePaymentByBalanceReq {