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

21 lines
349 B
Go

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