86 lines
4.4 KiB
Python
86 lines
4.4 KiB
Python
from django.urls import path
|
||
|
||
from backend.view import (
|
||
AddMemberView,
|
||
FaKuanChuLiView,
|
||
FaKuanChuangJianView,
|
||
FaKuanLieBiaoView,
|
||
FaKuanTongJiView,
|
||
GetGuanliListView,
|
||
GetMemberListView,
|
||
GetOperationLogListView,
|
||
GetWithdrawSettingsView,
|
||
GetZuzhangListView,
|
||
KefuGetDashouListView,
|
||
KefuGetShangjiaListView,
|
||
PopupNoticeListAPIView,
|
||
PopupNoticeModifyAPIView,
|
||
UpdateMemberView,
|
||
UpdateWithdrawSettingsView,
|
||
)
|
||
from users.views import KefuPunishmentListView
|
||
from jituan.views_display import (
|
||
ClubGonggaoView, ClubLunboListView, ClubLunboManageView,
|
||
ClubTupianListView, ClubTupianManageView,
|
||
)
|
||
from jituan.views import (
|
||
ClubAdminAssignmentListView,
|
||
ClubAuditLogListView,
|
||
ClubManageView,
|
||
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/club-manage', ClubManageView.as_view(), name='jituan_club_manage'),
|
||
path('houtai/admin-assignments', ClubAdminAssignmentListView.as_view(), name='jituan_admin_assignments'),
|
||
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/tupian-list', ClubTupianListView.as_view(), name='jituan_tupian_list'),
|
||
path('houtai/tupian-manage', ClubTupianManageView.as_view(), name='jituan_tupian_manage'),
|
||
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('houtai/hthqhylb', GetMemberListView.as_view(), name='jituan_member_list'),
|
||
path('houtai/htxghyxx', UpdateMemberView.as_view(), name='jituan_member_update'),
|
||
path('houtai/httjhy', AddMemberView.as_view(), name='jituan_member_add'),
|
||
path('club/list', ClubListView.as_view(), name='jituan_club_list'),
|
||
]
|