Site setup incomplete.
Business address, phone and email must be configured in the Toolbox plugin settings
before this site can be used as an advertising destination. Tracking is disabled.
CREATE TABLE IF NOT EXISTS lan_payment_unlock_receipt (
id int unsigned NOT NULL AUTO_INCREMENT,
addon_code varchar(50) NOT NULL DEFAULT '' COMMENT '插件标识',
record_id int unsigned NOT NULL DEFAULT 0 COMMENT '业务记录ID',
amount bigint NOT NULL DEFAULT 0 COMMENT '实收金额(最小货币单位)',
state varchar(16) NOT NULL DEFAULT 'claimed' COMMENT 'claimed=执行中 done=已完成',
create_time int unsigned NOT NULL DEFAULT 0 COMMENT '凭证创建时间',
update_time int unsigned NOT NULL DEFAULT 0 COMMENT '凭证更新时间(接管判定用)',
PRIMARY KEY (id),
UNIQUE KEY uk_addon_record (addon_code, record_id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='支付解锁凭证(框架级幂等兜底)' [ RunTime:0.001435s ]
CREATE TABLE IF NOT EXISTS `lan_addon_call_reservation` (
`call_id` varchar(64) NOT NULL COMMENT '服务端生成的单次调用标识',
`user_id` int unsigned NOT NULL COMMENT '归属会员ID',
`subject` varchar(50) NOT NULL COMMENT '调用插件',
`subscription_id` int unsigned NOT NULL COMMENT '调用开始时的订阅ID',
`quota_id` int unsigned NOT NULL COMMENT '调用开始时的额度ID',
`metric` varchar(20) NOT NULL COMMENT '额度计量维度',
`state` varchar(16) NOT NULL COMMENT 'reserved/confirmed/released/expired',
`limit_mode` varchar(16) NOT NULL COMMENT '调用开始时的限制模式',
`period_started_at` int unsigned NOT NULL COMMENT '调用归属周期',
`unlimited` tinyint unsigned NOT NULL COMMENT '是否不限量',
`reserved_at` int unsigned NOT NULL COMMENT '调用开始时间',
`expires_at` int unsigned NOT NULL COMMENT '占用失效时间',
`finished_at` int unsigned NOT NULL DEFAULT 0 COMMENT '状态完成时间',
PRIMARY KEY (`call_id`),
KEY `idx_quota_state` (`quota_id`,`state`,`expires_at`),
KEY `idx_expiry` (`state`,`expires_at`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='AI成功次数预占用' [ RunTime:0.001257s ]
SHOW TABLES LIKE 'lan_subscription_plan' [ RunTime:0.000407s ]
SHOW TABLES LIKE 'lan_subscription_plan_translation' [ RunTime:0.000253s ]
SHOW TABLES LIKE 'lan_plan_entitlement_translation' [ RunTime:0.000301s ]
INSERT IGNORE INTO `lan_subscription_plan_translation` (plan_id, lang, name, description, is_translated, create_time, update_time)
SELECT p.id, 'en', p.name, p.description, 1, '1794488710', '1794488710'
FROM `lan_subscription_plan` p
LEFT JOIN `lan_subscription_plan_translation` t ON t.plan_id = p.id AND t.lang = 'en'
WHERE t.id IS NULL [ RunTime:0.000805s ]
INSERT IGNORE INTO `lan_plan_entitlement_translation` (entitlement_id, lang, subject_title, is_translated, create_time, update_time)
SELECT e.id, 'en', e.subject_title, 1, '1794488710', '1794488710'
FROM `lan_plan_entitlement` e
LEFT JOIN `lan_plan_entitlement_translation` t ON t.entitlement_id = e.id AND t.lang = 'en'
WHERE t.id IS NULL [ RunTime:0.000714s ]
SHOW TABLES LIKE 'lan_user_translation' [ RunTime:0.000391s ]
INSERT IGNORE INTO `lan_user_translation` (user_id, lang, nickname, bio, avatar_alt, is_translated, create_time, update_time)
SELECT u.id, 'en', u.nickname, u.bio, '', 1, '1794488710', '1794488710'
FROM `lan_user` u
LEFT JOIN `lan_user_translation` t ON t.user_id = u.id AND t.lang = 'en'
WHERE t.id IS NULL [ RunTime:0.000559s ]
SELECT `name` FROM `lan_addon` WHERE `state` = 1 ORDER BY `is_home` DESC,`id` ASC [ RunTime:0.000354s ]
SELECT `name` FROM `lan_addon` WHERE `is_home` = 1 AND `state` = 1 LIMIT 1 [ RunTime:0.000636s ]
SELECT `config_json` FROM `lan_lang` WHERE `code` = 'en' LIMIT 1 [ RunTime:0.000725s ]