//
//  PostMessageViewModel.h
//  Open
//
//  Created by 看看智能 on 2017/3/3.
//  Copyright © 2017年 黄江涛 . All rights reserved.
//

#import "BaseViewModel.h"

@interface PostMessageViewModel : BaseViewModel
@property(nonatomic,strong)	 NSMutableArray *arrayForNews;
@property(nonatomic,strong)NSMutableArray *arrayForPostChild;
@property(nonatomic,strong)NSString *str1;
@property(nonatomic, getter=isHasMore) BOOL hasMore;
//获取所有categorynam
@property(nonatomic)	NSInteger pageId;
-(void)getDataFromNetCompleteHandle:(NSInteger)info PageW:(NSInteger)pageW andState:(NSInteger)state handle:(CompletionHandle)completionHandle;
-(void)getDataFromNetCompleteHandlePostTwo:(NSInteger)row Handle:(CompletionHandle)completionHandle;
-(void)getChildPostMess:(NSInteger)row Handle:(CompletionHandle)completionHandle;
//获取分类
-(void)getOneParent:(NSString*)str1 andTwoChild:(NSString*)two Page:(NSInteger)page Handle:(CompletionHandle)completionHandle;
//删除
-(void)userId:(NSInteger)userID andIdString:(NSString*)idStriing Handle:(CompletionHandle)completionHandle;
-(void)parent:(NSString *)parent andCity:(NSString*)city andCountry:(NSString *)country andPage:(NSUInteger)page Handle:(CompletionHandle)completionHandle;

@end
