79 lines
2.7 KiB
Go
79 lines
2.7 KiB
Go
|
package response
|
||
|
|
||
|
import "qnc-server/model/model"
|
||
|
|
||
|
type CombinedResponse struct {
|
||
|
ListResp []CaseDetail `json:"listResp"`
|
||
|
SxrResp []SxrDetail `json:"sxrResp"`
|
||
|
LimitHightResp []LimitHightDetail `json:"limitHightResp"`
|
||
|
IDInfo model.IDInfo `json:"id_info"`
|
||
|
Name string `json:"name" `
|
||
|
Mobile string `json:"mobile"`
|
||
|
CardNo string `json:"card_no" `
|
||
|
}
|
||
|
type LawsuitQueryListResponse struct {
|
||
|
OrderNo string `json:"orderNo"`
|
||
|
Rc string `json:"rc"`
|
||
|
Msg string `json:"msg"`
|
||
|
Data interface{} `json:"data"`
|
||
|
}
|
||
|
|
||
|
type LawsuitQueryListData struct {
|
||
|
Count int `json:"count"`
|
||
|
List []CaseDetail `json:"list"`
|
||
|
}
|
||
|
type CaseDetail struct {
|
||
|
Content string `json:"content"`
|
||
|
ID string `json:"id"`
|
||
|
Title string `json:"title"`
|
||
|
CaseCode string `json:"caseCode"`
|
||
|
Court string `json:"court"`
|
||
|
StandPoint string `json:"standPoint"`
|
||
|
PublishDate string `json:"publishDate"`
|
||
|
}
|
||
|
type SxrDetail struct {
|
||
|
EntityName string `json:"entityName"`
|
||
|
EntityID string `json:"entityId"`
|
||
|
CaseCode string `json:"caseCode"`
|
||
|
Age string `json:"age"`
|
||
|
Sex string `json:"sex"`
|
||
|
BusinessEntity string `json:"bussinessEntity"` // 注意这里是原始 JSON 中的拼写错误,应为 "businessEntity"
|
||
|
CourtName string `json:"courtName"`
|
||
|
AreaName string `json:"areaName"`
|
||
|
PartyTypeName string `json:"partyTypeName"`
|
||
|
GistID string `json:"gistId"`
|
||
|
RegDate string `json:"regDate"`
|
||
|
GistUnit string `json:"gistUnit"`
|
||
|
Duty string `json:"duty"`
|
||
|
Performance string `json:"performance"`
|
||
|
PerformedPart string `json:"performedPart"`
|
||
|
UnperformPart string `json:"unPerformPart"` // 注意这里是原始 JSON 中的拼写错误,应为 "unperformPart"
|
||
|
DisruptTypeName string `json:"disruptTypeName"`
|
||
|
PublishDate string `json:"publishDate"`
|
||
|
RelateType string `json:"relateType"`
|
||
|
Status string `json:"status"`
|
||
|
}
|
||
|
|
||
|
type LawsuitLimitHightQueryListResponse struct {
|
||
|
Data interface{} `json:"data"`
|
||
|
Msg string `json:"msg"`
|
||
|
Success bool `json:"success"`
|
||
|
Code int `json:"code"`
|
||
|
TaskNo string `json:"taskNo"`
|
||
|
}
|
||
|
type LimitHightData struct {
|
||
|
CaseCount int `json:"caseCount"`
|
||
|
CaseList []LimitHightDetail `json:"caseList"`
|
||
|
}
|
||
|
type LimitHightDetail struct {
|
||
|
Datatype string `json:"datatype"`
|
||
|
IName string `json:"iname"`
|
||
|
SexName string `json:"sexname"`
|
||
|
Age string `json:"age"`
|
||
|
CaseCode string `json:"casecode"`
|
||
|
AreaName string `json:"areaname"`
|
||
|
CourtName string `json:"courtname"`
|
||
|
RegDate string `json:"regdate"`
|
||
|
PublishDate string `json:"publishdate"`
|
||
|
}
|