1234567 |
- const _ = require('lodash');
- const { BusinessError, ErrorCode } = require('naf-core').Error;
- module.exports = params => {
- const code = _.get(params, 'code');
- if (!code) throw new BusinessError(ErrorCode.DATA_INVALID, '缺少模板需要的参数');
- return `【邮箱绑定】验证码为:${code},用于平台用户信息验证,若非本人操作,请忽略此信息。`;
- };
|