Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
GMAILab
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
GMAILab
Commits
de9ee24a
Commit
de9ee24a
authored
Jun 08, 2020
by
朱璇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
面诊客户端链路日志
parent
34a79523
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
7 deletions
+10
-7
GMBasicInfoCardView.m
...lasses/ToFace/ToFaceDoctorList/View/GMBasicInfoCardView.m
+4
-2
GMToFaceDoctorListHorNewCell.m
...Face/ToFaceDoctorList/View/GMToFaceDoctorListHorNewCell.m
+3
-0
GMToFaceDoctorListController.m
...eDoctorList/ViewController/GMToFaceDoctorListController.m
+1
-3
GMDoctorVideoTelephoneLogin.m
...Face/VideoTelephone/manager/GMDoctorVideoTelephoneLogin.m
+1
-1
GMUserVideoTelephoneWindow.m
...ToFace/VideoTelephone/window/GMUserVideoTelephoneWindow.m
+1
-1
No files found.
GMAILab/Classes/ToFace/ToFaceDoctorList/View/GMBasicInfoCardView.m
View file @
de9ee24a
...
...
@@ -189,7 +189,9 @@
return
;
}
// 埋点
if
(
!
self
.
isDispatch
)
{
[
GMVideoPhobos
consultation_traceWithActionStep
:
@"Consultation.One2One.LaunchButtion.Click"
status
:
@"success"
extraParam
:
@{
@"counsellor_id"
:
self
.
counsellorId
,
@"referer"
:
SafeString
(
self
.
referer
)}];
}
[
self
payMoney
];
}
...
...
@@ -330,7 +332,7 @@
};
[
GMNetworking
requestOCWithApi
:
API_LAUNCH_DISPATCH
method
:
GMHTTPMethodPost
parameters
:
param
completion
:^
(
GMResponseOC
*
_Nonnull
response
)
{
if
(
response
.
isSuccess
)
{
[
GMVideoPhobos
consultation_traceWithActionStep
:
@"
"
status
:
@""
extraParam
:
@{
}];
[
GMVideoPhobos
consultation_traceWithActionStep
:
@"
Consultation.Dispatch.Launch"
status
:
@"success"
extraParam
:
@{
@"order_no"
:
SafeString
(
self
.
orderNo
)
}];
[
GMVideoPhobos
video_monitoringWithActionStep
:
@"进入正在匹配页"
consultId
:
nil
traceId
:
weakSelf
.
traceId
];
weakSelf
.
waitingView
.
currentTime
=
[
response
.
data
[
@"countdown"
]
intValue
];
weakSelf
.
waitingView
.
orderNo
=
weakSelf
.
orderNo
;
...
...
@@ -340,7 +342,7 @@
[
weakSelf
hide
];
});
}
else
{
[
GMVideoPhobos
consultation_traceWithActionStep
:
@"
"
status
:
@""
extraParam
:
@{
}];
[
GMVideoPhobos
consultation_traceWithActionStep
:
@"
Consultation.Dispatch.Launch"
status
:
@"failed"
extraParam
:
@{
@"order_no"
:
SafeString
(
self
.
orderNo
)
}];
[[
GMBaseTool
getCurrentViewController
]
toast
:
response
.
message
];
}
}];
...
...
GMAILab/Classes/ToFace/ToFaceDoctorList/View/GMToFaceDoctorListHorNewCell.m
View file @
de9ee24a
...
...
@@ -14,6 +14,8 @@
#import "GMLibraryHeader.h"
#import "RequestHeader.h"
#import <GMBase/GMBaseTool.h>
#import "GMVideoPhobos.h"
@interface
GMToFaceDoctorListHorNewCell
()
<
GMDoctorInfoPopupViewDelegate
>
/** 形象照 */
@property
(
nonatomic
,
strong
)
UIImageView
*
personalIcon
;
...
...
@@ -211,6 +213,7 @@
#pragma mark - 医生头像
-
(
void
)
docIconClickMethod
{
[
GMVideoPhobos
consultation_traceWithActionStep
:
@"Consultation.ConsultantCard.Click"
status
:
@"success"
extraParam
:
@{
@"counsellor_id"
:
_doctorsModel
.
counsellorId
,
@"status"
:
@
(
_doctorsModel
.
status
)}];
[
GMBaseTool
getCurrentViewController
].
tabName
=
@"医生推荐"
;
self
.
personalIcon
.
userInteractionEnabled
=
NO
;
// 若该医生为在线可面诊状态,则拉起基本信息卡,若为面诊中/不在线状态,跳转医生详情页/或者弹出面诊师卡片
...
...
GMAILab/Classes/ToFace/ToFaceDoctorList/ViewController/GMToFaceDoctorListController.m
View file @
de9ee24a
...
...
@@ -97,6 +97,7 @@
GMToFaceRecommendsDoctors
*
model
=
self
.
viewModel
.
dataArray
[
indexPath
.
row
];
//埋点
[
self
clickPhobosMethod
:
model
indexPath
:
indexPath
];
[
GMVideoPhobos
consultation_traceWithActionStep
:
@"Consultation.ConsultantCard.Click"
status
:
@"success"
extraParam
:
@{
@"counsellor_id"
:
model
.
counsellorId
,
@"status"
:
@
(
model
.
status
)}];
if
(
model
.
status
==
2
)
{
[
self
counsellorFillInfoView
:
model
indexPath
:
indexPath
];
}
else
{
...
...
@@ -178,8 +179,6 @@
weakSelf
.
indexPath
=
nil
;
if
(
response
.
isSuccess
)
{
// 埋点
[
GMVideoPhobos
consultation_traceWithActionStep
:
@"Consultation.ConsultantCard.Click"
status
:
@"success"
extraParam
:
@{
@"counsellor_id"
:
model
.
counsellorId
,
@"status"
:
@
(
model
.
status
-
1
)}];
GMConsultantInfoModel
*
model
=
[[
GMConsultantInfoModel
alloc
]
initWithDictionary
:
response
.
data
error
:
NULL
];
GMDoctorInfoPopupView
*
popupView
=
[[
GMDoctorInfoPopupView
alloc
]
init
];
popupView
.
tabName
=
self
.
viewModel
.
tabName
;
...
...
@@ -191,7 +190,6 @@
popupView
.
model
=
model
;
[[
GMBaseTool
getCurrentViewController
].
view
addSubview
:
popupView
];
}
else
{
[
GMVideoPhobos
consultation_traceWithActionStep
:
@"Consultation.ConsultantCard.Click"
status
:
@"failed"
extraParam
:
@{
@"counsellor_id"
:
model
.
counsellorId
,
@"status"
:
@
(
model
.
status
-
1
)}];
[[
GMBaseTool
getCurrentViewController
]
toast
:
response
.
message
];
}
weakSelf
.
collectView
.
userInteractionEnabled
=
YES
;
...
...
GMAILab/Classes/ToFace/VideoTelephone/manager/GMDoctorVideoTelephoneLogin.m
View file @
de9ee24a
...
...
@@ -151,7 +151,7 @@ static GMDoctorVideoTelephoneLogin *loginManager = nil;
BOOL
swapWH
=
UIInterfaceOrientationIsPortrait
(
UIApplication
.
sharedApplication
.
statusBarOrientation
);
[
rtcEngine
setVideoProfile
:
TTTRtc_VideoProfile_720P
swapWidthAndHeight
:
swapWH
];
[
rtcEngine
joinChannelByKey
:
nil
channelName
:
_channelId
uid
:
_uid
joinSuccess
:
nil
];
[
GMVideoPhobos
consultation_traceWithActionStep
:
@"Consultation.Santi.Join"
status
:
@"success"
extraParam
:
@{
@"
order_no"
:
@""
,
@"
consultation_record_id"
:
SafeString
(
model
.
consultationRecordId
),
@"channel_id"
:
SafeString
(
_channelId
)}];
[
GMVideoPhobos
consultation_traceWithActionStep
:
@"Consultation.Santi.Join"
status
:
@"success"
extraParam
:
@{
@"consultation_record_id"
:
SafeString
(
model
.
consultationRecordId
),
@"channel_id"
:
SafeString
(
_channelId
)}];
}
...
...
GMAILab/Classes/ToFace/VideoTelephone/window/GMUserVideoTelephoneWindow.m
View file @
de9ee24a
...
...
@@ -395,7 +395,7 @@
[
self
.
doctorVideoView
configureRegion
:
doctorUser
];
[
_TTManager
setTelephoneVideoCompositingLayout
:
self
.
windowStatu
userId
:
_TTManager
.
me
.
uid
doctorId
:
uid
];
}
else
if
(
clientRole
==
TTTRtc_ClientRole_Broadcaster
)
{
[
GMVideoPhobos
consultation_traceWithActionStep
:
@"Consultation.Santi.OnUserJoined"
status
:
@"success"
extraParam
:
@{
@"user_id"
:
@
(
uid
),
@"consultation_record_id"
:
SafeString
(
_TTManager
.
consultationRecordId
)}];
[
GMVideoPhobos
consultation_traceWithActionStep
:
@"Consultation.
One2One.
Santi.OnUserJoined"
status
:
@"success"
extraParam
:
@{
@"user_id"
:
@
(
uid
),
@"consultation_record_id"
:
SafeString
(
_TTManager
.
consultationRecordId
)}];
[
self
.
doctorVideoView
configureRegion
:
doctorUser
];
if
(
_TTManager
.
me
.
clientRole
==
TTTRtc_ClientRole_Anchor
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment