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

19 lines
278 B
Go

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