//
//  VersionUpdateTool.h
//  Open
//
//  Created by 雷俊博 on 2019/10/10.
//  Copyright © 2019 黄江涛 . All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>



//如果为开发状态,设置为 NO; 如果为生产状态,应改为 YES.
#ifdef DEBUG
static BOOL isProduction1 = NO;
#else
static BOOL isProduction1 = YES;
#endif

#define APPSTOREID @"1507076734"

typedef void(^CacheBlock)(NSError *error, BOOL isReview);
typedef void(^CacheBlockData)(NSError *error, NSDictionary *dic);


NS_ASSUME_NONNULL_BEGIN

@interface VersionUpdateTool : NSObject


+(VersionUpdateTool *)sharedInstance;

-(void)VersionUpdate;
-(void)VersionUpdate2;
-(void)isReview:(CacheBlock)block;
-(BOOL)getIsReview;


@end

NS_ASSUME_NONNULL_END
