finish /user/status-config

This commit is contained in:
eson
2023-06-08 11:36:47 +08:00
parent a9e0f6b98e
commit 47e9201d78
4 changed files with 76 additions and 10 deletions

View File

@@ -28,7 +28,7 @@ service home-user-auth {
post /user/basic-info(RequestBasicInfoForm) returns (response);
@handler UserStatusConfigHandler
post /user/status-config(RequestBasicInfoForm) returns (response);
post /user/status-config(request) returns (response);
}
@server(
@@ -107,13 +107,13 @@ type DataGetType {
// KeyName 普通的key name 对象结构. eg: /user/status-config 用在返回值
type KeyName {
Key string `json:"key"`
Key int `json:"key"`
Name string `json:"name"`
}
// KeyNameButton 普通的key name button 对象结构 eg: /user/status-config 用在返回值
type KeyNameButton {
Key string `json:"key"`
Key int `json:"key"`
Name string `json:"name"`
Button []string `json:"button"`
}
@@ -127,5 +127,5 @@ type DataStatusConfig {
InventoryLogisticsStatus []KeyName `json:"Inventory_logistics_status"` //订单物流状态
Time []KeyName `json:"time"` //返回订单时间筛选项
RefundReason []KeyName `json:"refund_reason"` //退款原因说明项
LogisticsStatus []KeyName `json:"logistics_status"` //物流状态筛选项
LogisticsStatus []KeyNameButton `json:"logistics_status"` //物流状态筛选项
}