//
//  CitiesDataTool.h
//  ChooseLocation
//
//  Created by Sekorm on 16/10/25.
//  Copyright © 2016年 HY. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ProvinceModel.h"
#import "cityModel.h"

@interface CitiesDataTool : NSObject
+ (instancetype)sharedManager;

@property (nonatomic, strong)NSMutableArray *provinceArray;

- (void)requestGetData;
//查询出所有的省
- (NSMutableArray *)queryAllProvince;
//根据areaLevel级别,省ID 查询出该省下属的市
//- (NSMutableArray *)queryAllRecordWithSheng:(NSString *) sheng;
//根据areaLevel级别,省ID(sheng)  ,查询 市
- (NSMutableArray *)queryAllRecordWithShengID:(NSString *) sheng;
//根据areaLevel级别,省ID(sheng) , 市ID(di) ,查询 县
- (NSMutableArray *)queryAllRecordWithShengID:(NSString *) sheng cityID:(NSString *)di;
//根据areaCode, 查询地址
- (NSString *)queryAllRecordWithAreaCode:(NSString *) areaCode;

//请求所有的省份;
- (void)requestAllProvince;
@end
