feat: adjust manual and automatic order matching
This commit is contained in:
@@ -101,9 +101,6 @@ func (in *AppMemberEditInp) Filter(ctx context.Context) error {
|
||||
if in.TradePassword != "" && len(in.TradePassword) < 6 {
|
||||
return gerror.New("交易密码不能少于6位")
|
||||
}
|
||||
if in.AvailableAmount != nil && *in.AvailableAmount < 0 {
|
||||
return gerror.New("账户余额不能小于0")
|
||||
}
|
||||
if !dict.HasOptionKey(consts.AppMemberRiskStatusOptions, in.RiskStatus) {
|
||||
return gerror.New("风控状态不合法")
|
||||
}
|
||||
|
||||
@@ -54,6 +54,7 @@ type TradeOrderListModel struct {
|
||||
CreatedAt *gtime.Time `json:"createdAt"`
|
||||
ApprovalStatus int `json:"approvalStatus"`
|
||||
PaymentStatus string `json:"paymentStatus"`
|
||||
ScheduledMatchAt string `json:"scheduledMatchAt"`
|
||||
CanMatch bool `json:"canMatch"`
|
||||
CanChangeAmount bool `json:"canChangeAmount"`
|
||||
CanForcePay bool `json:"canForcePay"`
|
||||
|
||||
Reference in New Issue
Block a user