Files
wechatWeb/_docs/sql/alter_plan_api_permission.sql
张成 1f4b39d576 1
2026-03-27 13:30:53 +08:00

9 lines
567 B
SQL
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
-- biz_plans 新增:可访问接口列表 + 每月API调用次数上限
ALTER TABLE `biz_plans`
ADD COLUMN `allowed_apis` JSON DEFAULT NULL COMMENT '可访问的接口路径列表null=不限制' AFTER `enabled_features`,
ADD COLUMN `api_call_quota` INT NOT NULL DEFAULT 0 COMMENT '每月API总调用次数上限0=不限制' AFTER `allowed_apis`;
-- biz_usage_monthly 新增当月API调用总次数
ALTER TABLE `biz_usage_monthly`
ADD COLUMN `api_call_count` INT NOT NULL DEFAULT 0 COMMENT '当月API转发总调用次数' AFTER `active_user_count`;