"""
配置应用视图聚合模块（config/views/__init__.py）

本模块原为 config/views.py（3718 行单文件），已按功能组拆分到 config/views/ 子包。
本文件作为聚合 re-export 入口，重新导出所有视图类与公共符号。
外部引用（config/urls.py、backend/urls.py、merchant_ops/views_templates.py）保持不变。

功能组拆分：
- miniapp_config     小程序动态配置（动态配置/海报/弹窗/提现方式/手机号认证）
- admin_config       管理员配置（商品公告/配置查询/图片上传/群与利率更新）
- admin_stats        管理员统计/记录（打手排行/账号查询/修改记录）
- merchant_templates 商家订单模板
- merchant_links     商家链接/客户订单（含 IPUtils、OrderLinkThrottle）
- qrcode_poster      二维码/海报（关注/管事二维码/组长海报）
- scripts            话术配置（含辅助函数）
"""
import logging

# 各功能组视图
from .miniapp_config import (
    GetDynamicConfigView, HaibaoPeizhiView, PopupConfigView,
    GetWithdrawModeView, CheckPhoneAuthView,
)
from .admin_config import (
    ShangpinGonggaoView, AdminConfigQueryView, AdminUploadImageView,
    AdminUpdateConfigView,
)
from .admin_stats import (
    DashouPaihangView, GetAdminZhanghaoView, GetXiugaiJiluView,
)
from .merchant_templates import (
    ShangjiaMobanListView, ShangjiaTianjiaMobanView,
    ShangjiaShanchuMobanView, ShangjiaGengxinMobanView,
)
from .merchant_links import (
    ShangjiaGenerateLinkView, ShangjiaLianjieListView,
    KehuGetDingdanLianjieView, KehuTianxieDingdanView,
    IPUtils, OrderLinkThrottle,
)
from .qrcode_poster import (
    GuanZhuAListView, GuanshiQRCodeView, ZuzhangHaibaoView, CYaoqingQRCodeView,
)
from .scripts import (
    HuashuHqView, HuashuMatchView,
    MiniappScriptHoutaiListView, MiniappScriptHoutaiModifyView,
)

# 模块级符号（保持向后兼容）
logger = logging.getLogger(__name__)

__all__ = [
    # miniapp_config
    'GetDynamicConfigView', 'HaibaoPeizhiView', 'PopupConfigView',
    'GetWithdrawModeView', 'CheckPhoneAuthView',
    # admin_config
    'ShangpinGonggaoView', 'AdminConfigQueryView', 'AdminUploadImageView',
    'AdminUpdateConfigView',
    # admin_stats
    'DashouPaihangView', 'GetAdminZhanghaoView', 'GetXiugaiJiluView',
    # merchant_templates
    'ShangjiaMobanListView', 'ShangjiaTianjiaMobanView',
    'ShangjiaShanchuMobanView', 'ShangjiaGengxinMobanView',
    # merchant_links
    'ShangjiaGenerateLinkView', 'ShangjiaLianjieListView',
    'KehuGetDingdanLianjieView', 'KehuTianxieDingdanView',
    'IPUtils', 'OrderLinkThrottle',
    # qrcode_poster
    'GuanZhuAListView', 'GuanshiQRCodeView', 'ZuzhangHaibaoView', 'CYaoqingQRCodeView',
    # scripts
    'HuashuHqView', 'HuashuMatchView',
    'MiniappScriptHoutaiListView', 'MiniappScriptHoutaiModifyView',
    # 公共符号
    'logger',
]
