Authored by bevishuang

优化注册™上报

@@ -196,7 +196,7 @@ Page({ @@ -196,7 +196,7 @@ Page({
196 196
197 event.emit('login-type-report', {LOGIN_TYPE: 5}); 197 event.emit('login-type-report', {LOGIN_TYPE: 5});
198 event.emit('user-login-success'); 198 event.emit('user-login-success');
199 - if (res.data && res.data.is_register === 0) { 199 + if (res.data && res.data.nFlag === 'Y') {
200 event.emit('register-type-report', {YB_REGISTER_SUCCESS: 5}); 200 event.emit('register-type-report', {YB_REGISTER_SUCCESS: 5});
201 } 201 }
202 wx.navigateBack(); 202 wx.navigateBack();