...
|
...
|
@@ -31,8 +31,9 @@ type RequestHeader struct { |
|
|
|
|
|
/*Login */
|
|
|
type LoginRequest struct {
|
|
|
Uid int64 `json:"uid" valid:"Required;"`
|
|
|
Token string `json:"token" valid:"Required;"`
|
|
|
Uid int64 `json:"cuid" valid:"Required;"`
|
|
|
Token string `json:"credentials" valid:"Required;"`
|
|
|
ClientId string `json:"clientId"`
|
|
|
}
|
|
|
type LoginResponse struct {
|
|
|
AuthCode string `json:"authCode"`
|
...
|
...
|
|