This commit is contained in:
2025-12-05 18:30:31 +08:00
parent 4d5013486c
commit 8d00d67540
12 changed files with 2785 additions and 107 deletions

View File

@@ -9,55 +9,50 @@ $tables = @(
# ============================================
# 新代理系统表
# ============================================
# "agent",
# "agent_audit",
# "agent_wallet",
# "agent_relation",
# "agent_link",
# "agent_order",
# "agent_commission",
# "agent_rebate",
# "agent_upgrade",
# "agent_withdrawal",
# "agent_config"
# "agent_product_config"
# "agent_invite_code_usage"
# "agent_freeze_task"
"agent_short_link"
# "agent_real_name"
# "agent_withdrawal_tax"
# "agent_invite_code"
# ============================================
# 其他业务表
# ============================================
# "feature",
# "global_notifications"
# "order",
# "order_refund"
# "product",
# "product_feature",
# "query",
# "query_cleanup_log"
# "query_cleanup_detail"
# "query_cleanup_config"
# "user"
# "user_auth"
# "user_temp"
# "example"
# "admin_user"
# "admin_user_role"
# "admin_api",
# "admin_menu"
# "admin_role",
# "admin_role_api",
# "admin_role_menu",
# "admin_dict_data"
# "admin_dict_type"
# "admin_promotion_link"
# "admin_promotion_link_stats_total"
# "admin_promotion_link_stats_history"
# "admin_promotion_order"
"admin_api",
"admin_dict_data",
"admin_dict_type",
"admin_menu",
"admin_promotion_link",
"admin_promotion_link_stats_history",
"admin_promotion_link_stats_total",
"admin_promotion_order",
"admin_role",
"admin_role_api",
"admin_role_menu",
"admin_user",
"admin_user_role",
"agent",
"agent_commission",
"agent_config",
"agent_freeze_task",
"agent_invite_code",
"agent_invite_code_usage",
"agent_link",
"agent_order",
"agent_product_config",
"agent_real_name",
"agent_rebate",
"agent_relation",
"agent_short_link",
"agent_upgrade",
"agent_wallet",
"agent_withdrawal",
"agent_withdrawal_tax",
"authorization_document",
"example",
"feature",
"global_notifications",
"order",
"order_refund",
"product",
"product_feature",
"query",
"query_cleanup_config",
"query_cleanup_detail",
"query_cleanup_log",
"user",
"user_auth"
)
# 为每个表生成模型