You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
406 B
19 lines
406 B
package response
|
|
|
|
import "shop-api/model"
|
|
|
|
type LoginResponse struct {
|
|
User model.UserSimple `json:"user"`
|
|
Token string `json:"token"`
|
|
ExpiresAt int64 `json:"expiresAt"`
|
|
}
|
|
|
|
type TiktokResponse struct {
|
|
Data struct {
|
|
User model.TiktokUser `json:"user"`
|
|
} `json:"data"`
|
|
Error struct {
|
|
Code string `json:"code"`
|
|
Message string `json:"message"`
|
|
} `json:"error"`
|
|
}
|
|
|