fix: 完成商务迁移复核与接口优化并清理历史资料
This commit is contained in:
@@ -59,6 +59,9 @@ func (s *AccountService) List(ctx context.Context, req *dto.BusinessAccountQuery
|
||||
}
|
||||
*field.target = &n
|
||||
}
|
||||
if (req.BeginTime == "") != (req.EndTime == "") {
|
||||
return nil, business.ErrAccountInput
|
||||
}
|
||||
if req.BeginTime != "" && req.EndTime != "" {
|
||||
begin, err := time.ParseInLocation("2006-01-02 15:04:05", req.BeginTime, time.Local)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user