//
//  WXPay.h
//  JZPlus_RN
//
//  Created by 丁乐 on 2020/6/15.
//

#import <Foundation/Foundation.h>
#import <React/RCTBridgeModule.h>

NS_ASSUME_NONNULL_BEGIN

@interface WXPay : NSObject

+(instancetype)shareInstance;

//  设置微信appKey
+(void)wechatRegister:(NSString *)appkey link:(NSString *)universalLink;

//  应用间跳转调用
+(BOOL)applicationOpenUrl:(NSURL *)url;

// 微信支付
-(void)wxpay:(NSDictionary *)data success:(RCTPromiseResolveBlock)success faild:(RCTPromiseRejectBlock)faild;

@end

NS_ASSUME_NONNULL_END
