feat(app): update
This commit is contained in:
20
pkg/dto/inner/ReturnWithdrawRevenueRequest.go
Normal file
20
pkg/dto/inner/ReturnWithdrawRevenueRequest.go
Normal file
@ -0,0 +1,20 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user