19 lines
285 B
Go
19 lines
285 B
Go
package inner
|
|
|
|
import "errors"
|
|
|
|
type UpdateYunXinInfoRequest struct {
|
|
UserId string
|
|
}
|
|
|
|
// 参数合法性检验
|
|
func (request *UpdateYunXinInfoRequest) CheckParameter() (err error) {
|
|
|
|
if len(request.UserId) == 0 {
|
|
err = errors.New("NoticeTitle不能为空")
|
|
return
|
|
}
|
|
|
|
return
|
|
}
|