spring-configuration-metadata.json 1.1 KB

123456789101112131415161718192021222324252627282930
  1. {
  2. "groups": [
  3. {
  4. "name": "tr.tenant",
  5. "type": "cn.tr.plugin.biz.tenant.properties.TenantProperties",
  6. "sourceType": "cn.tr.plugin.biz.tenant.properties.TenantProperties"
  7. }
  8. ],
  9. "properties": [
  10. {
  11. "name": "tr.tenant.enable",
  12. "type": "java.lang.Boolean",
  13. "description": "是否开启",
  14. "sourceType": "cn.tr.plugin.biz.tenant.properties.TenantProperties"
  15. },
  16. {
  17. "name": "tr.tenant.ignore-tables",
  18. "type": "java.util.Set<java.lang.String>",
  19. "description": "需要忽略多租户的表 即默认所有表都开启多租户的功能,所以记得添加对应的 tenant_id 字段哟",
  20. "sourceType": "cn.tr.plugin.biz.tenant.properties.TenantProperties"
  21. },
  22. {
  23. "name": "tr.tenant.ignore-urls",
  24. "type": "java.util.Set<java.lang.String>",
  25. "description": "需要忽略多租户的请求 默认情况下,每个请求需要带上 tenant-id 的请求头。但是,部分请求是无需带上的,例如说短信回调、支付回调等 Open API!",
  26. "sourceType": "cn.tr.plugin.biz.tenant.properties.TenantProperties"
  27. }
  28. ],
  29. "hints": []
  30. }