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

19 lines
294 B
Go

package request
import "errors"
type VerifyNickNameRequest struct {
NickName string
}
// 注册用户信息签名验证
func (request *VerifyNickNameRequest) CheckParameter() (err error) {
if len(request.NickName) == 0 {
err = errors.New("手机号不能为空")
return
}
return
}