f
This commit is contained in:
@@ -22,8 +22,31 @@ service main {
|
||||
|
||||
@handler getAppConfig
|
||||
get /app/config returns (getAppConfigResp)
|
||||
|
||||
@handler getHomeDynamicData
|
||||
get /app/home/dynamic (getHomeDynamicDataReq) returns (getHomeDynamicDataResp)
|
||||
}
|
||||
|
||||
type (
|
||||
getHomeDynamicDataReq {
|
||||
LastId int64 `json:"lastId,optional"`
|
||||
}
|
||||
InquiryRecordItem {
|
||||
Id int64 `json:"id"`
|
||||
Tag string `json:"tag"`
|
||||
Vin string `json:"vin"`
|
||||
Model string `json:"model"`
|
||||
}
|
||||
ReviewItem {
|
||||
Name string `json:"name"`
|
||||
Content string `json:"content"`
|
||||
}
|
||||
getHomeDynamicDataResp {
|
||||
Cases []InquiryRecordItem `json:"cases"`
|
||||
Reviews []ReviewItem `json:"reviews"`
|
||||
}
|
||||
)
|
||||
|
||||
type (
|
||||
// 心跳检测响应
|
||||
HealthCheckResp {
|
||||
|
||||
Reference in New Issue
Block a user