feat(jituan): 集团多俱乐部改造 — club 隔离、财务/提现/分红/展示配置

This commit is contained in:
XingQue
2026-06-24 05:02:18 +08:00
parent ce9b09f096
commit dcc4936428
82 changed files with 5748 additions and 924 deletions

70
jituan/urls.py Normal file
View File

@@ -0,0 +1,70 @@
from django.urls import path
from backend.view import (
FaKuanChuLiView,
FaKuanChuangJianView,
FaKuanLieBiaoView,
FaKuanTongJiView,
GetGuanliListView,
GetOperationLogListView,
GetWithdrawSettingsView,
GetZuzhangListView,
KefuGetDashouListView,
KefuGetShangjiaListView,
PopupNoticeListAPIView,
PopupNoticeModifyAPIView,
UpdateWithdrawSettingsView,
)
from users.views import KefuPunishmentListView
from jituan.views_display import ClubGonggaoView, ClubLunboListView, ClubLunboManageView
from jituan.views import (
ClubAuditLogListView,
ClubCaiwuView,
ClubChongzhiFinanceView,
ClubDashouRegisterView,
ClubHuiyuanBankuaiView,
ClubHuiyuanStatsView,
ClubKefuLoginView,
ClubListView,
ClubMeContextView,
ClubOrderFinanceView,
ClubOrderTypesView,
ClubSzxxView,
ClubUserSummaryView,
ClubWechatLoginView,
)
urlpatterns = [
path('auth/wechat-login', ClubWechatLoginView.as_view(), name='jituan_wechat_login'),
path('auth/kefu-login', ClubKefuLoginView.as_view(), name='jituan_kefu_login'),
path('auth/me-context', ClubMeContextView.as_view(), name='jituan_me_context'),
path('auth/dashou-register', ClubDashouRegisterView.as_view(), name='jituan_dashou_register'),
path('houtai/caiwu', ClubCaiwuView.as_view(), name='jituan_caiwu'),
path('houtai/szxx', ClubSzxxView.as_view(), name='jituan_szxx'),
path('houtai/audit-log', ClubAuditLogListView.as_view(), name='jituan_audit_log'),
path('houtai/hqczrz', GetOperationLogListView.as_view(), name='jituan_operation_log'),
path('houtai/hthqtxpz', GetWithdrawSettingsView.as_view(), name='jituan_withdraw_get'),
path('houtai/htxgtxsz', UpdateWithdrawSettingsView.as_view(), name='jituan_withdraw_update'),
path('houtai/cwddhqlx', ClubOrderTypesView.as_view(), name='jituan_cwddhqlx'),
path('houtai/cwhqjtddsj', ClubOrderFinanceView.as_view(), name='jituan_cwhqjtddsj'),
path('houtai/cwqtczhq', ClubChongzhiFinanceView.as_view(), name='jituan_cwqtczhq'),
path('houtai/cwhybkhq', ClubHuiyuanBankuaiView.as_view(), name='jituan_cwhybkhq'),
path('houtai/hybkjtsj', ClubHuiyuanStatsView.as_view(), name='jituan_hybkjtsj'),
path('houtai/user-summary', ClubUserSummaryView.as_view(), name='jituan_user_summary'),
# 用户列表(与 /houtai/* 同一视图,按 X-Club-Id 过滤;详情仍走 /houtai/*
path('houtai/kefuhqdslb', KefuGetDashouListView.as_view(), name='jituan_dashou_list'),
path('houtai/hthqgslb', GetGuanliListView.as_view(), name='jituan_guanshi_list'),
path('houtai/hqsjgllb', KefuGetShangjiaListView.as_view(), name='jituan_shangjia_list'),
path('houtai/hthqzzlb', GetZuzhangListView.as_view(), name='jituan_zuzhang_list'),
path('houtai/lunbo-list', ClubLunboListView.as_view(), name='jituan_lunbo_list'),
path('houtai/lunbo-manage', ClubLunboManageView.as_view(), name='jituan_lunbo_manage'),
path('houtai/gonggao', ClubGonggaoView.as_view(), name='jituan_gonggao'),
path('houtai/hthqtcxx', PopupNoticeListAPIView.as_view(), name='jituan_popup_list'),
path('houtai/htxgtcxx', PopupNoticeModifyAPIView.as_view(), name='jituan_popup_modify'),
path('houtai/htglyhqcfsltj', FaKuanTongJiView.as_view(), name='jituan_penalty_stats'),
path('houtai/hthqfklb', FaKuanLieBiaoView.as_view(), name='jituan_penalty_list'),
path('houtai/glyclfk', FaKuanChuLiView.as_view(), name='jituan_penalty_action'),
path('houtai/htfksc', FaKuanChuangJianView.as_view(), name='jituan_penalty_create'),
path('houtai/kefu-cfgl', KefuPunishmentListView.as_view(), name='jituan_kefu_cfgl'),
path('club/list', ClubListView.as_view(), name='jituan_club_list'),
]