Authored by yyq

inviteCode

... ... @@ -7,7 +7,6 @@
*/
'use strict';
const _ = require('lodash');
const aes = require('./aes-pwd');
const api = global.yoho.API;
... ... @@ -47,7 +46,7 @@ let regMobileAes = (area, mobile, password, code, shoppingKey, extParam)=> {
if (extParam) {
if (extParam.inviteCode) {
params.inviteCode = _.replace(extParam.inviteCode, /[^(0-9a-zA-Z)]/ig, '');
params.inviteCode = extParam.inviteCode;
}
}
... ...