Authored by 毕凯

Merge branch 'feature/captcha' into 'release/5.3'

fix smslogin yas



See merge request !40
... ... @@ -12,10 +12,12 @@ var sendInfo = function(eventName) {
channel = channelMap[channel] || 1;
param = JSON.stringify({C_ID: channel});
yas && yas.sendCustomInfo({
op: eventName,
param: param
}, true);
if (yas && yas.sendCustomInfo) {
yas.sendCustomInfo({
op: eventName,
param: param
}, true);
}
};
module.exports = sendInfo;
... ...