//
//  ALCreateTopicViewModel.h
//  GMAlpha
//
//  Created by Q14 on 2018/11/7.
//  Copyright © 2018年 Gengmei. All rights reserved.
//
#import "ALCreateDiaryObject.h"
#import "ALCreateTopicController.h"

@interface ALCreateTopicViewModel : WMFetchDataViewModel
@property (nonatomic, strong) ALCreateDiaryObject *diaryObj;
@property (nonatomic, strong) NSString *token;
@property (nonatomic, assign) BOOL isAllImageAndVideoUploadSuccess;

- (instancetype)initWithType:(FromWhereComeIn)type;

- (NSDictionary *)toJsonDictWithObject:(ALCreateDiaryObject *)obj;

- (void)uploadImagesAndVideoSuccessBlock:(HttpSuccessBlock)successBlock failBlock:(HttpFailedBlock)failBlock;

@end


