...
|
...
|
@@ -37,6 +37,15 @@ module.exports = class extends global.yoho.BaseModel { |
|
|
return this.get({data: params});
|
|
|
}
|
|
|
|
|
|
checkBindCode(area, mobile, code) {
|
|
|
return this.get({data: {
|
|
|
method: 'app.register.validRegCode',
|
|
|
mobile: mobile,
|
|
|
area: area,
|
|
|
code: code
|
|
|
}});
|
|
|
}
|
|
|
|
|
|
bindMobile(openId, sourceType, mobile, area, password, nickname, code) {
|
|
|
let params = {
|
|
|
method: 'app.passport.bind',
|
...
|
...
|
|