//
//  GMWaitingGrabViewModel.h
//  Gengmei
//
//  Created by Jessica on 2020/3/6.
//  Copyright © 2020 更美互动信息科技有限公司. All rights reserved.
//
#import "GMDispatchWaitingGrabObject.h"

NS_ASSUME_NONNULL_BEGIN

@interface GMWaitingGrabViewModel : WMFetchDataViewModel
// 获取数据
- (void)fetchWaitingListData:(void(^)(APIStatusCode, NSString *))block;

// 抢单
- (void)grabOrderWithTaskId:(NSString *)taskId successBlock:(HttpSuccessBlock)successBlock failBlock:(HttpFailedBlock)failBlock;
@end

NS_ASSUME_NONNULL_END
