Files
Django/jituan/urls.py
XingQue 5762f00d40 feat: 分俱乐部付呗收款通道,默认仍走微信直连
小程序前端仍传 wechat;后台可切换 wechat/fubei,支持配置多套付呗并退款按原通道路由。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-21 20:02:24 +08:00

181 lines
10 KiB
Python
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.
from django.urls import path
from backend.view import (
AddMemberView,
ClubMemberCatalogView,
ClubMemberDisableView,
ClubMemberEnableView,
FaKuanChuLiView,
FaKuanPingTaiShenHeView,
FaKuanChuangJianView,
FaKuanLieBiaoView,
FaKuanTongJiView,
GetGuanliListView,
GetMemberListView,
GetOperationLogListView,
GetWithdrawSettingsView,
GetZuzhangListView,
KhgglView,
KefuGetDashouListView,
KefuGetShangjiaListView,
PopupNoticeListAPIView,
PopupNoticeModifyAPIView,
ShgxgsjView,
UpdateMemberView,
MemberCardImageUploadView,
MemberRechargeRecordsView,
MemberBundleCreateView,
UpdateWithdrawSettingsView,
)
from users.views import KefuPunishmentListView
from jituan.views_display import (
ClubGonggaoView, ClubLunboListView, ClubLunboManageView,
ClubTupianListView, ClubTupianManageView,
)
from jituan.views_miniapp_assets import (
ClubMiniappIconListView,
ClubMiniappIconManageView,
ClubPindaoManageView,
)
from jituan.views import (
ClubAdminAssignmentListView,
ClubAuditLogListView,
ClubManageView,
ClubCertUploadView,
ClubCaiwuView,
ClubChongzhiFinanceView,
ClubDashouRegisterView,
ClubHuiyuanBankuaiView,
ClubHuiyuanStatsView,
ClubKefuLoginView,
ClubKefuMenuAccessView,
ClubPermDebugView,
ClubListView,
ClubMeContextView,
ClubOrderFinanceView,
ClubOrderTypesView,
ClubSzxxView,
ClubUserSummaryView,
ClubWechatLoginView,
ClubWxBindRefreshView,
)
from jituan.views_dashou_exam import (
DashouExamBundleView,
DashouExamConfigAdminView,
DashouExamImageManageView,
DashouExamMarkPassedView,
DashouExamQuestionListView,
DashouExamQuestionManageView,
DashouExamStatusView,
)
from jituan.views_fake_grab_order import (
FakeGrabOrderAvatarUploadView,
FakeGrabOrderListView,
FakeGrabOrderManageView,
)
from jituan.views_club_catalog import (
ClubKaoheChenghaoCatalogView,
ClubKaoheChenghaoDisableView,
ClubKaoheChenghaoEnableView,
ClubKaoheChenghaoListView,
ClubShangpinLeixingCatalogView,
ClubShangpinLeixingDisableView,
ClubShangpinLeixingEnableView,
ClubShangpinLeixingIconView,
ClubShangpinLeixingListView,
)
from jituan.views_shenhe_manage import ClubKhgglAddView
from jituan.views_payment_channel import ClubPaymentChannelManageView
from jituan.views_identity_tag import (
IdentityTagBindListView,
IdentityTagBindView,
IdentityTagListView,
IdentityTagManageView,
IdentityTagMyTagsView,
)
urlpatterns = [
path('auth/wechat-login', ClubWechatLoginView.as_view(), name='jituan_wechat_login'),
path('auth/refresh-wx-bind', ClubWxBindRefreshView.as_view(), name='jituan_refresh_wx_bind'),
path('auth/kefu-login', ClubKefuLoginView.as_view(), name='jituan_kefu_login'),
path('auth/me-context', ClubMeContextView.as_view(), name='jituan_me_context'),
path('auth/menu-access', ClubKefuMenuAccessView.as_view(), name='jituan_menu_access'),
path('auth/perm-debug', ClubPermDebugView.as_view(), name='jituan_perm_debug'),
path('auth/dashou-register', ClubDashouRegisterView.as_view(), name='jituan_dashou_register'),
path('houtai/club-manage', ClubManageView.as_view(), name='jituan_club_manage'),
path('houtai/payment-channel-manage', ClubPaymentChannelManageView.as_view(), name='jituan_payment_channel_manage'),
path('houtai/club-cert-upload', ClubCertUploadView.as_view(), name='jituan_club_cert_upload'),
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('identity-tag/my-tags', IdentityTagMyTagsView.as_view(), name='jituan_identity_my_tags'),
path('houtai/identity-tag/list', IdentityTagListView.as_view(), name='jituan_identity_tag_list'),
path('houtai/identity-tag/manage', IdentityTagManageView.as_view(), name='jituan_identity_tag_manage'),
path('houtai/identity-tag/bind-list', IdentityTagBindListView.as_view(), name='jituan_identity_tag_bind_list'),
path('houtai/identity-tag/bind', IdentityTagBindView.as_view(), name='jituan_identity_tag_bind'),
path('houtai/tupian-list', ClubTupianListView.as_view(), name='jituan_tupian_list'),
path('houtai/tupian-manage', ClubTupianManageView.as_view(), name='jituan_tupian_manage'),
path('houtai/miniapp-icon-list', ClubMiniappIconListView.as_view(), name='jituan_miniapp_icon_list'),
path('houtai/miniapp-icon-manage', ClubMiniappIconManageView.as_view(), name='jituan_miniapp_icon_manage'),
path('houtai/pindao-manage', ClubPindaoManageView.as_view(), name='jituan_pindao_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/glyptshfk', FaKuanPingTaiShenHeView.as_view(), name='jituan_penalty_platform_audit'),
path('houtai/htfksc', FaKuanChuangJianView.as_view(), name='jituan_penalty_create'),
path('houtai/kefu-cfgl', KefuPunishmentListView.as_view(), name='jituan_kefu_cfgl'),
path('houtai/khggl', KhgglView.as_view(), name='jituan_khggl'),
path('houtai/shgxgsj', ShgxgsjView.as_view(), name='jituan_shgxgsj'),
path('houtai/khggl-add', ClubKhgglAddView.as_view(), name='jituan_khggl_add'),
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('houtai/hthycatalog', ClubMemberCatalogView.as_view(), name='jituan_member_catalog'),
path('houtai/hthysj', ClubMemberEnableView.as_view(), name='jituan_member_enable'),
path('houtai/hthyxj', ClubMemberDisableView.as_view(), name='jituan_member_disable'),
path('houtai/hy-card-upload', MemberCardImageUploadView.as_view(), name='jituan_member_card_upload'),
path('houtai/hy-recharge-records', MemberRechargeRecordsView.as_view(), name='jituan_member_recharge_records'),
path('houtai/hy-bundle-create', MemberBundleCreateView.as_view(), name='jituan_member_bundle_create'),
path('houtai/fake-grab-order-list', FakeGrabOrderListView.as_view(), name='jituan_fake_grab_order_list'),
path('houtai/fake-grab-order-manage', FakeGrabOrderManageView.as_view(), name='jituan_fake_grab_order_manage'),
path('houtai/fake-grab-order-avatar', FakeGrabOrderAvatarUploadView.as_view(), name='jituan_fake_grab_order_avatar'),
path('houtai/club-leixing-list', ClubShangpinLeixingListView.as_view(), name='jituan_club_leixing_list'),
path('houtai/club-leixing-catalog', ClubShangpinLeixingCatalogView.as_view(), name='jituan_club_leixing_catalog'),
path('houtai/club-leixing-enable', ClubShangpinLeixingEnableView.as_view(), name='jituan_club_leixing_enable'),
path('houtai/club-leixing-disable', ClubShangpinLeixingDisableView.as_view(), name='jituan_club_leixing_disable'),
path('houtai/club-leixing-icon', ClubShangpinLeixingIconView.as_view(), name='jituan_club_leixing_icon'),
path('houtai/club-kaohe-list', ClubKaoheChenghaoListView.as_view(), name='jituan_club_kaohe_list'),
path('houtai/club-kaohe-catalog', ClubKaoheChenghaoCatalogView.as_view(), name='jituan_club_kaohe_catalog'),
path('houtai/club-kaohe-enable', ClubKaoheChenghaoEnableView.as_view(), name='jituan_club_kaohe_enable'),
path('houtai/club-kaohe-disable', ClubKaoheChenghaoDisableView.as_view(), name='jituan_club_kaohe_disable'),
path('dashou-exam/status', DashouExamStatusView.as_view(), name='jituan_dashou_exam_status'),
path('dashou-exam/bundle', DashouExamBundleView.as_view(), name='jituan_dashou_exam_bundle'),
path('dashou-exam/mark-passed', DashouExamMarkPassedView.as_view(), name='jituan_dashou_exam_mark_passed'),
path('houtai/dashou-exam-config', DashouExamConfigAdminView.as_view(), name='jituan_dashou_exam_config'),
path('houtai/dashou-exam-question-list', DashouExamQuestionListView.as_view(), name='jituan_dashou_exam_q_list'),
path('houtai/dashou-exam-question-manage', DashouExamQuestionManageView.as_view(), name='jituan_dashou_exam_q_manage'),
path('houtai/dashou-exam-image-manage', DashouExamImageManageView.as_view(), name='jituan_dashou_exam_img'),
path('club/list', ClubListView.as_view(), name='jituan_club_list'),
]