Commit 7ee2e6e4 authored by 艾娇平's avatar 艾娇平

更换遵守协议

parent af0d7b9d
......@@ -31,7 +31,7 @@
#define dispatchAllHeight (522 + UIView.safeAreaInsetsBottom)
#define dispatchHalfHeight (286 + UIView.safeAreaInsetsBottom)
@interface GMBasicInfoCardView ()<WKWebViewDelegate>
@interface GMBasicInfoCardView ()<GMJSBridgeProtocol>
@property (nonatomic, strong) GMBaseWebViewComponent *webCompent;
@property (nonatomic, strong) GMVideoWaitingView *waitingView;
@property (nonatomic, assign) int currentTime;
......@@ -129,7 +129,9 @@
}
}
- (void)getVideoPermission:(NSDictionary *)data {
- (void)getVideoPermission:(NSString *)jsonString; {
NSDictionary *data = [NSDictionary dictionaryWithJsonString:jsonString];
//先请求订单接口,付款完成后再进行面诊
self.dict = [NSMutableDictionary dictionaryWithDictionary:data];
self.traceId = [GMVideoPhobos getTraceId];
......
......@@ -15,7 +15,7 @@
#import "GMToFaceNetworking.h"
@import GMBaseWeb;
@import GMHud;
@interface GMTofaceOrderDetailViewController () <WKWebViewDelegate>
@interface GMTofaceOrderDetailViewController () <GMJSBridgeProtocol>
@property (nonatomic, strong) GMComplaintObject *complaintObject;
@end
......
......@@ -15,7 +15,7 @@
#import <GMFoundation/GMFoundation-umbrella.h>
@import GMBaseWeb;
@import GMNetworking;
@interface GMBusinessReportListController () <WKWebViewDelegate>
@interface GMBusinessReportListController () <GMJSBridgeProtocol>
@end
......@@ -48,7 +48,8 @@
return [NSString stringWithFormat:@"&doctor_id=%@&counsellor_id=%@",SafeString(self.doctorId),SafeString(self.counsellorId)];
}
- (void)videoDiagnoseComplaint:(NSDictionary *)complaint {
- (void)videoDiagnoseComplaint:(NSString *)jsonString {
NSDictionary *complaint = [NSDictionary dictionaryWithJsonString:jsonString];
GMComplaintResultViewType complaintStatus = [complaint[@"status"] integerValue];
if (complaintStatus == GMComplaintResultViewTypeNone) {
GMEndConsultView *view = [[GMEndConsultView alloc] initWithType:GMEndConsultViewTypeDoctorComplaint starNum:0];
......
......@@ -18,7 +18,7 @@
@import GMNetworking;
@import GMFoundation;
@import GMAlbum;
@interface GMBusinessReportResultController () <WKWebViewDelegate>
@interface GMBusinessReportResultController () <GMJSBridgeProtocol>
@property (nonatomic, strong) UIImage *shareImage;
@property (nonatomic, copy) NSString *shareUserId;
......
......@@ -34,7 +34,7 @@
@implementation GMViewEvaluateModel @end
@interface GMDiagnoseRecordWebViewController () <WKWebViewDelegate>
@interface GMDiagnoseRecordWebViewController () <GMJSBridgeProtocol>
@property (nonatomic, strong) GMComplaintObject *complaintObject;
@property (nonatomic, assign) BOOL isSureOrder;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment