Authored by 陈峰

yas

@@ -68,7 +68,7 @@ export function createYoho() { @@ -68,7 +68,7 @@ export function createYoho() {
68 }, 68 },
69 actions: { 69 actions: {
70 [REPORT_YAS]({state, dispatch}, {params: {appop, param}, asyncindx = false, repeat = true}) { 70 [REPORT_YAS]({state, dispatch}, {params: {appop, param}, asyncindx = false, repeat = true}) {
71 - if (window._yas && window._yas.sendAppLogs) { 71 + if (window._yas && window._yas.sendCustomInfo) {
72 param = param || {}; 72 param = param || {};
73 73
74 if (!param.C_ID) { 74 if (!param.C_ID) {
@@ -79,7 +79,7 @@ export function createYoho() { @@ -79,7 +79,7 @@ export function createYoho() {
79 79
80 param.C_ID = channel; 80 param.C_ID = channel;
81 } 81 }
82 - window._yas.sendAppLogs({ 82 + window._yas.sendCustomInfo({
83 appop, 83 appop,
84 param: param ? JSON.stringify(param) : '{}' 84 param: param ? JSON.stringify(param) : '{}'
85 }, asyncindx); 85 }, asyncindx);