Blame view

apps/passport/models/bind-service.js 332 Bytes
htoooth authored
1
const BindApi = require('./bind-api');
姜枫 authored
2
htoooth authored
3
module.exports = class extends global.yoho.BaseModel {
htoooth authored
4 5
    constructor(ctx) {
        super(ctx);
htoooth authored
6 7 8 9

        this.bindApi = new BindApi(ctx);

        this.bindMobile = this.bindApi.bindMobile.bind(this.bindApi);
htoooth authored
10
        this.sendBindMsg = this.bindApi.sendBindMsg.bind(this.bindApi);
htoooth authored
11 12
    }
};