2025-12-16 12:05:05 +09:00

29 lines
1.2 KiB
Go

package model
type RequestDefaultStrc struct {
GrantType string `form:"grantType" json:"grantType" example:"session"`
AngkorId string `form:"angkorid" json:"angkorid" example:"ak123214"`
}
type ResponseDefaultModel struct {
Code int `json:"code" example:"200"`
Message string `json:"message" example:"success"`
}
type DefaultErrorModel struct {
Code int `json:"code" example:"400"`
Message string `json:"message" example:"message"`
}
type ApplicationInfo struct {
AppId string `json:"appId" example:"11"`
ApplicationName string `json:"appName" example:"angkorlife"`
ApplicationCompany string `json:"appCompany" example:"digital angkor"`
ApplicationIcon string `json:"appIcon" example:"https://icon.angkorlifes.com/images/angkorlife.jpg"`
ApplicationConsent string `json:"appConsent" example:"127"`
ApplicationCallbackUrl string `json:"appCallback" example:"https://callback.angkorlifes.com/receive"`
ServiceCategory string `json:"serviceCategory" example:"game"`
AppleBundleIDs string `json:"appleBundleIDs" example:"com.angkorlifes"`
AndroidPackageName string `json:"androidPackageName" example:"com.angkorlifes"`
}