- tenant_domain 表: domain → resellerid 映射, UNIQUE(domain) - init.py: get_domain_by_host() 根据域名查找分销商 - index.ui: Tabular CRUD 管理界面 - load_path.py: RBAC 权限注册
27 lines
884 B
JSON
27 lines
884 B
JSON
{
|
|
"tblname": "tenant_domain",
|
|
"title": "租户域名管理",
|
|
"params": {
|
|
"sortby": "created_at desc",
|
|
"logined_userorgid": "orgid",
|
|
"browserfields": {
|
|
"exclouded": ["id"],
|
|
"alters": {
|
|
"status": {
|
|
"uitype": "code",
|
|
"data": [
|
|
{"value": "active", "text": "启用"},
|
|
{"value": "inactive", "text": "停用"}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"editexclouded": ["id", "created_at", "updated_at"],
|
|
"editable": {
|
|
"new_data_url": "{{entire_url('../api/tenant_domain_create.dspy')}}",
|
|
"update_data_url": "{{entire_url('../api/tenant_domain_update.dspy')}}",
|
|
"delete_data_url": "{{entire_url('../api/tenant_domain_delete.dspy')}}"
|
|
}
|
|
}
|
|
}
|