Commit 6625c532 authored by 朱璇's avatar 朱璇

埋点修改

parent 64ea4e8f
......@@ -257,7 +257,7 @@
- (void)consultation_traceWithStatus:(NSString *)status {
// 埋点
[GMVideoPhobos consultation_traceWithActionStep:@"Consultation.CreateOrder" status:status extraParam:@{@"counsellor_id": SafeString(self.counsellorId), @"order_no": SafeString(self.orderNo), @"referer": SafeString(self.referer)}];
[GMVideoPhobos consultation_traceWithActionStep:@"Consultation.CreateOrder" status:status extraParam:@{ @"order_no": SafeString(self.orderNo)}];
}
#pragma mark - 需要付款,先付款、后面诊
......
......@@ -94,13 +94,11 @@
__weak typeof(self)weakSelf = self;
[self.viewModel fetchWaitingListData:^(APIStatusCode apiStatus, NSString *message) {
if (APIStatusCodeFailed == apiStatus) { // 失败
[GMVideoPhobos consultation_traceWithActionStep:@"Consultation.Dispatch.PollDispatch" status:@"failed" extraParam:@{@"consultation_record_id": @""}];
[weakSelf showEmptyView:GMEmptyViewTypeException];
if ([message isNonEmpty]) {
[weakSelf toast:message];
}
} else {
[GMVideoPhobos consultation_traceWithActionStep:@"Consultation.Dispatch.PollDispatch" status:@"success" extraParam:@{@"consultation_record_id": @""}];
if (apiStatus == APIStatusCodeEmpty) { // 空
[weakSelf showEmptyView:GMEmptyViewTypeEmpty];
} else {
......
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