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

21 lines
349 B
Go

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