1. 增加【默认】的系统租户的概念,禁止修改与删除等操作

2. 修复定时任务在刷新本地缓存时,会过滤租户的问题
3. 调整短信的回调地址,并进行租户的白名单
This commit is contained in:
YunaiV
2022-02-24 00:53:28 +08:00
parent fa62ace6af
commit 75928525ca
13 changed files with 77 additions and 40 deletions

View File

@ -79,8 +79,31 @@ yudao:
- cn.iocoder.yudao.module.tool.enums.ErrorCodeConstants
tenant: # 多租户相关配置项
enable: true
ignore-urls: /admin-api/system/tenant/get-id-by-name, /admin-api/system/captcha/get-image, /admin-api/infra/file/get/*
ignore-tables: infra_config, infra_file, infra_job, infra_job_log, infra_job_log, system_tenant, system_tenant_package, system_dict_data, system_dict_type, system_error_code, system_menu, system_sms_channel, system_sms_template, tool_codegen_column, tool_codegen_table, tool_test_demo, tables, columns
ignore-urls:
- /admin-api/system/tenant/get-id-by-name
- /admin-api/system/captcha/get-image
- /admin-api/infra/file/get/*
- /admin-api/system/sms/callback/*
ignore-tables:
- infra_config
- infra_file
- infra_job
- infra_job_log
- infra_job_log
- system_tenant
- system_tenant_package
- system_dict_data
- system_dict_type
- system_error_code
- system_menu
- system_sms_channel
- system_sms_template
- system_sms_log
- tool_codegen_column
- tool_codegen_table
- tool_test_demo
- tables
- columns
sms-code: # 短信验证码相关的配置项
expire-times: 10m
send-frequency: 1m