方法列表
查看订单
admin
user
RPC
findEnabledUserOrder (FindEnabledUserOrderRequest) returns (FindEnabledUserOrderResponse)
HTTP
POST /UserOrderService/findEnabledUserOrder
输入对象:FindEnabledUserOrderRequest:
输出对象:FindEnabledUserOrderResponse:
取消订单
admin
user
RPC
cancelUserOrder (CancelUserOrderRequest) returns (RPCSuccess)
HTTP
POST /UserOrderService/cancelUserOrder
输入对象:CancelUserOrderRequest:
输出对象:RPCSuccess:
{ }
完成订单
admin
RPC
finishUserOrder (FinishUserOrderRequest) returns (RPCSuccess)
HTTP
POST /UserOrderService/finishUserOrder
输入对象:FinishUserOrderRequest:
输出对象:RPCSuccess:
{ }
计算订单数量
admin
user
RPC
countEnabledUserOrders (CountEnabledUserOrdersRequest) returns (RPCCountResponse)
HTTP
POST /UserOrderService/countEnabledUserOrders
输入对象:CountEnabledUserOrdersRequest:
{ // 用户ID int64 userId; // 关键词 string keyword; string status; }
输出对象:RPCCountResponse:
{ // 数量 int64 count; }
列出单页订单
admin
user
RPC
listEnabledUserOrders (ListEnabledUserOrdersRequest) returns (ListEnabledUserOrdersResponse)
HTTP
POST /UserOrderService/listEnabledUserOrders
输入对象:ListEnabledUserOrdersRequest:
{ // 用户ID int64 userId; // 关键词 string keyword; string status; // 读取位置 int64 offset; // 数量,通常不能小于0 int64 size; }
输出对象:ListEnabledUserOrdersResponse: