BUJSBCommand.h
983 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
//
// BUJSBMessage.h
// BURexxar
//
// Created by muhuai on 2017/4/26.
// Copyright © 2017年 muhuai. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface BUJSBCommand : NSObject
@property (nonatomic, copy) NSString *messageType;
@property (nonatomic, copy) NSString *eventID;
@property (nonatomic, copy) NSString *callbackID;
@property (nonatomic, copy) NSDictionary *params;
/**
前端传过来的方法名, 有"isLogin" 和 "TTRLogin.isLogin"两种格式
*/
@property(nonatomic, copy) NSString *fullName;
/**
经过别名映射后, 该property为 映射前的fullName
*/
@property(nonatomic, copy) NSString *origName;
/**
动态plugin的 类名
*/
@property(nonatomic, copy) NSString *className;
/**
动态plugin的 方法名
*/
@property(nonatomic, copy) NSString *methodName;
/**
没卵用
*/
@property(nonatomic, copy) NSString *JSSDKVersion;
- (instancetype)initWithDictonary:(NSDictionary *)dic;
- (NSString *)toJSONString;
@end