This commit is contained in:
cool 2023-06-26 15:32:01 +08:00
parent 94ea80aeee
commit adf67f2c52
2 changed files with 1 additions and 6 deletions

View File

@ -52,7 +52,6 @@ export class BaseSysParamService extends BaseService {
let html = '<html><body>@content</body></html>';
let result: any = await this.cacheManager.get(`param:${key}`);
if (result) {
result = JSON.parse(result);
html = html.replace('@content', result.data);
} else {
html = html.replace('@content', 'key notfound');

View File

@ -16,12 +16,8 @@ export default () => {
globalMiddlewares: [UserMiddleware],
// 模块加载顺序默认为0值越大越优先加载
order: 0,
// 阿里云短信
// 短信
sms: {
signName: '',
templateCode: ' ',
accessKeyId: '',
accessKeySecret: '',
// 验证码有效期,单位秒
timeout: 60 * 3,
},