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.
20 lines
406 B
20 lines
406 B
6 months ago
|
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"`
|
||
|
}
|