qnc-server-old/model/response/westdex.go

20 lines
439 B
Go
Raw Permalink Normal View History

2024-09-14 10:48:09 +08:00
package response
type WestdexResp struct {
Message string `json:"message"`
Code string `json:"code"`
Data string `json:"data"`
ID string `json:"id"`
ErrorCode *int `json:"error_code"`
Reason string `json:"reason"`
}
type Wrapper[T any] struct {
Data T `json:"data"`
}
type ThreeElementsResponse struct {
Code int `json:"code"`
Msg string `json:"msg"`
PhoneType string `json:"phoneType"`
}