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

更换遵守协议

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