feat:【system 系统管理】租户支持匹配多域名、微信小程序 appid 等
This commit is contained in:
@@ -4303,7 +4303,7 @@ CREATE TABLE system_tenant
|
||||
contact_name varchar(30) NOT NULL,
|
||||
contact_mobile varchar(500) DEFAULT NULL NULL,
|
||||
status smallint DEFAULT 0 NOT NULL,
|
||||
website varchar(256) DEFAULT '' NULL,
|
||||
websites varchar(256) DEFAULT '' NULL,
|
||||
package_id bigint NOT NULL,
|
||||
expire_time datetime NOT NULL,
|
||||
account_count int NOT NULL,
|
||||
@@ -4320,7 +4320,7 @@ COMMENT ON COLUMN system_tenant.contact_user_id IS '联系人的用户编号';
|
||||
COMMENT ON COLUMN system_tenant.contact_name IS '联系人';
|
||||
COMMENT ON COLUMN system_tenant.contact_mobile IS '联系手机';
|
||||
COMMENT ON COLUMN system_tenant.status IS '租户状态(0正常 1停用)';
|
||||
COMMENT ON COLUMN system_tenant.website IS '绑定域名';
|
||||
COMMENT ON COLUMN system_tenant.websites IS '绑定域名数组';
|
||||
COMMENT ON COLUMN system_tenant.package_id IS '租户套餐编号';
|
||||
COMMENT ON COLUMN system_tenant.expire_time IS '过期时间';
|
||||
COMMENT ON COLUMN system_tenant.account_count IS '账号数量';
|
||||
@@ -4336,9 +4336,9 @@ COMMENT ON TABLE system_tenant IS '租户表';
|
||||
-- ----------------------------
|
||||
-- @formatter:off
|
||||
SET IDENTITY_INSERT system_tenant ON;
|
||||
INSERT INTO system_tenant (id, name, contact_user_id, contact_name, contact_mobile, status, website, package_id, expire_time, account_count, creator, create_time, updater, update_time, deleted) VALUES (1, '芋道源码', NULL, '芋艿', '17321315478', 0, 'www.iocoder.cn', 0, '2099-02-19 17:14:16', 9999, '1', '2021-01-05 17:03:47', '1', '2023-11-06 11:41:41', '0');
|
||||
INSERT INTO system_tenant (id, name, contact_user_id, contact_name, contact_mobile, status, website, package_id, expire_time, account_count, creator, create_time, updater, update_time, deleted) VALUES (121, '小租户', 110, '小王2', '15601691300', 0, 'zsxq.iocoder.cn', 111, '2026-07-10 00:00:00', 30, '1', '2022-02-22 00:56:14', '1', '2025-04-03 21:33:01', '0');
|
||||
INSERT INTO system_tenant (id, name, contact_user_id, contact_name, contact_mobile, status, website, package_id, expire_time, account_count, creator, create_time, updater, update_time, deleted) VALUES (122, '测试租户', 113, '芋道', '15601691300', 0, 'test.iocoder.cn', 111, '2022-04-29 00:00:00', 50, '1', '2022-03-07 21:37:58', '1', '2024-09-22 12:10:50', '0');
|
||||
INSERT INTO system_tenant (id, name, contact_user_id, contact_name, contact_mobile, status, websites, package_id, expire_time, account_count, creator, create_time, updater, update_time, deleted) VALUES (1, '芋道源码', NULL, '芋艿', '17321315478', 0, 'www.iocoder.cn', 0, '2099-02-19 17:14:16', 9999, '1', '2021-01-05 17:03:47', '1', '2023-11-06 11:41:41', '0');
|
||||
INSERT INTO system_tenant (id, name, contact_user_id, contact_name, contact_mobile, status, websites, package_id, expire_time, account_count, creator, create_time, updater, update_time, deleted) VALUES (121, '小租户', 110, '小王2', '15601691300', 0, 'zsxq.iocoder.cn', 111, '2026-07-10 00:00:00', 30, '1', '2022-02-22 00:56:14', '1', '2025-04-03 21:33:01', '0');
|
||||
INSERT INTO system_tenant (id, name, contact_user_id, contact_name, contact_mobile, status, websites, package_id, expire_time, account_count, creator, create_time, updater, update_time, deleted) VALUES (122, '测试租户', 113, '芋道', '15601691300', 0, 'test.iocoder.cn', 111, '2022-04-29 00:00:00', 50, '1', '2022-03-07 21:37:58', '1', '2024-09-22 12:10:50', '0');
|
||||
COMMIT;
|
||||
SET IDENTITY_INSERT system_tenant OFF;
|
||||
-- @formatter:on
|
||||
|
||||
Reference in New Issue
Block a user