Files
servicebase/pkg/dto/request/SignWithAppleRequest.go
2025-11-19 14:24:13 +08:00

19 lines
310 B
Go

package request
import "errors"
type SignWithAppleRequest struct {
AuthorizationCode string
}
// 参数合法性检验
func (request *SignWithAppleRequest) CheckParameter() (err error) {
if len(request.AuthorizationCode) == 0 {
err = errors.New("AuthorizationCode 不能为空")
return
}
return
}