//
//  UniappPlugin.h
//  Runner
//
//  Created by tangziyang on 2021/7/6.
//

#ifndef UniappPlugin_h
#define UniappPlugin_h

#import "DCUniMP.h"
#import <Flutter/Flutter.h>
//#import "AFNetworking.h"

#endif /* UniappPlugin_h */

@interface UniappPlugin:NSObject <DCUniMPSDKEngineDelegate>

-(void)open:(NSString*)appid url:(NSString*)wgtUrl param:(NSDictionary*)dict block:(void (^)(void))block;

-(void)openUniApp:(NSString *)name dict:(NSDictionary *)dict;

//-(void)downloadWgt:(NSString *)url appid:(NSString*)appid block:(void (^)(NSString * tips))block success:(void (^)(void))success;
@end