//
//  GMGrabedListViewModel.m
//  Gengmei
//
//  Created by Jessica on 2020/3/6.
//  Copyright © 2020 更美互动信息科技有限公司. All rights reserved.
//

#import "GMGrabedListViewModel.h"
#import "RequestHeader.h"
@import GMNetworking;
@implementation GMGrabedListViewModel
- (instancetype)init{
    self = [super init];
    if (self) {
        _remoteUrl = API_CONSULTATION_COUNSEL_FINISHED_DISPATCH;
        self.count = 20;
    }
    return self;
}

- (void)buildParams{
    _params = @{@"start_num":@(self.startNum)};
}

- (void)buildModelWithRemoteDic:(NSDictionary *)dic{
    NSArray *tempArray = [GMDispatchWaitingGrabObject arrayOfModelsFromDictionaries:dic[@"data"] error:nil];
    [self.dataArray addObjectsFromArray:tempArray];
}



@end
