from django.urls import path
from django.views.decorators.csrf import csrf_exempt

from .view import (GetRolePermissionView,
    ModifyRolePermissionView, AddRoleView, GetAdminRolesView, GetAdminUserListView, AddAdminUserView,
    ModifyAdminUserView, KefuGetDashouListView, KefuGetDashouDetailView, KefuUpdateDashouView, KefuGetShangjiaListView,
    KefuGetShangjiaDetailView, KefuUpdateShangjiaView, KefuAddShangjiaView, GetProductBaseDataView, GetProductListView, SaveProductOrderView,
    AddProductView, DeleteProductView, GetProductDetailView, UpdateProductView, UpdateZhiKanShenheView, UpdateMemberView, GetMemberListView,
    AddMemberView,     GetGuanliListView, GetGuanliDetailView, PromoteGuanshiToZuzhangView, ChangeInviterView, UpdateGuanliView, GuanshiChangeLeaderQuotaView, GuanshiChangeLeaderLogView, GetWithdrawSettingsView,
    UpdateWithdrawSettingsView, GetZuzhangListView, GetZuzhangDetailView, UpdateZuzhangView, GetOperationLogListView, GetProductTypeZoneView,
    ModifyProductTypeZoneView, GetRateView, ModifyRateView, PopupNoticeListAPIView, PopupNoticeModifyAPIView,ShopListView,
    ShopModifyView, ShopPublicTypeAndAuditView, ShopListForProductView, ShopProductModifyView,
    ShopProductTypeMappingView, ProductListView, ProductModifyView, ShopCopyCatalogView, KefuChatPermissionsView,
    KefuImUserClubFilterView,
    FineApplyView, PunishDashouView,
    FaKuanTongJiView, FaKuanLieBiaoView, FaKuanChuLiView, FaKuanChuangJianView, FaKuanPingTaiShenHeView,
    HqbkxxView,BkxgView,CaiwuView,CwhybkhqView, HybkjtsjView, SzxxView, CwddhqlxView, CwhqjtddsjView,
    CwqtczhqView, KhpzhqView, ChzsgcView,KhgglView, ShgxgsjView, KhjlglView, KhjlczView, ZxkfghdsView,
    DashouGiftHuiyuanSaveView, DashouGiftHuiyuanRemoveView)
from config.views import MiniappScriptHoutaiListView, MiniappScriptHoutaiModifyView
from rank.reward_houtai_views import RankRewardHoutaiListView, RankRewardHoutaiSaveView, RankRewardHoutaiClaimsView

urlpatterns = [
    path('gljshq', GetRolePermissionView.as_view(), name='获取就角色信息'),
    path('sctjjsnr', ModifyRolePermissionView.as_view(), name='修改角色数据'),
    path('tjjs', AddRoleView.as_view(), name='添加角色'),

    path('hqyhjsgl', GetAdminRolesView.as_view(), name='管理用户页面获取用户角色'),
    path('hqjsyhsj', GetAdminUserListView.as_view(), name='管理用户页面获取用户数据'),
    path('xghtyhsj', ModifyAdminUserView.as_view(), name='管理用户页面修改用户数据'),
    path('tjyhjs', AddAdminUserView.as_view(), name='管理用户页面添加用户'),
    path('kefuhqdslb', KefuGetDashouListView.as_view(), name='客服获取打手数据'),
    path('kefuhqdsxq', KefuGetDashouDetailView.as_view(), name='客服获取打手具体信息'),
    path('kefuxgds', KefuUpdateDashouView.as_view(), name='客服修改打手数据'),
    path('dszsonghy', DashouGiftHuiyuanSaveView.as_view(), name='打手赠送会员'),
    path('dsycsonghy', DashouGiftHuiyuanRemoveView.as_view(), name='移除打手赠送会员'),
    path('hqsjgllb', KefuGetShangjiaListView.as_view(), name='后台获取商家列表'),
    path('hthqsjxq', KefuGetShangjiaDetailView.as_view(), name='后台获取商家详情'),
    path('xgsjxx', KefuUpdateShangjiaView.as_view(), name='后台修改商家数据'),
    path('tjsj', KefuAddShangjiaView.as_view(), name='后台添加商家'),

    path('htsphqjcsx', GetProductBaseDataView.as_view(), name='后台获取商品类型专区'),
    path('hthqsplb', GetProductListView.as_view(), name='后台获取商品数据'),
    path('htsppaixu', SaveProductOrderView.as_view(), name='后台修改商品类型排序'),
    path('htfbsp', AddProductView.as_view(), name='后台添加商品'),
    path('htscsp', DeleteProductView.as_view(), name='后台删除商品'),
    path('htsphqxq', GetProductDetailView.as_view(), name='后台获取商品详情'),
    path('bcspxg', UpdateProductView.as_view(), name='后台更新商品数据'),
    path('htxgzhikan', UpdateZhiKanShenheView.as_view(), name='后台更新只看审核开关'),

    path('hthqhylb', GetMemberListView.as_view(), name='后台获取会员列表'),
    path('htxghyxx', UpdateMemberView.as_view(), name='后台更新会员信息'),
    path('httjhy', AddMemberView.as_view(), name='后台添加会员'),
    path('hthqgslb', GetGuanliListView.as_view(), name='后台获取管事列表'),

    path('hthqgsxq', GetGuanliDetailView.as_view(), name='后台获取管事详情信息'),
    path('htgssjzz', PromoteGuanshiToZuzhangView.as_view(), name='后台管事升级组长'),
    path('htghyqr', ChangeInviterView.as_view(), name='后台更换邀请人'),
    path('htgs_huan_zz_quota', GuanshiChangeLeaderQuotaView.as_view(), name='后台管事换组长次数'),
    path('htgs_huan_zz_logs', GuanshiChangeLeaderLogView.as_view(), name='后台管事换组长记录'),
    path('htxggsxx', UpdateGuanliView.as_view(), name='后台更新管事数据'),
    path('hqczrz', GetOperationLogListView.as_view(), name='后台操作日志列表'),
    path('hthqtxpz', GetWithdrawSettingsView.as_view(), name='后台获取提现配置'),
    path('htxgtxsz', UpdateWithdrawSettingsView.as_view(), name='后台修改提现配置'),
    path('hthqzzlb', GetZuzhangListView.as_view(), name='后台获取组长列表'),
    path('hthqzzxq', GetZuzhangDetailView.as_view(), name='后台获取组长详情页面'),
    path('htxgzzxx', UpdateZuzhangView.as_view(), name='后台修改组长信息'),


    path('hthqsplxzq', GetProductTypeZoneView.as_view(), name='后台获取商品类型专区'),
    path('htxgsplx', ModifyProductTypeZoneView.as_view(), name='后台修改添加商品类型专区'),
    path('hthqfhpz', GetRateView.as_view(), name='后台获取费率'),
    path('htxgfl', ModifyRateView.as_view(), name='后台修改费率'),
    path('hthqtcxx', PopupNoticeListAPIView.as_view(), name='后台获取弹窗配置'),
    path('htxgtcxx', PopupNoticeModifyAPIView.as_view(), name='后台更新创建弹窗配置'),
    path('hthqhs', MiniappScriptHoutaiListView.as_view(), name='后台获取话术配置'),
    path('htxghs', MiniappScriptHoutaiModifyView.as_view(), name='后台更新话术配置'),
    path('phbjhq', RankRewardHoutaiListView.as_view(), name='后台排行榜奖励配置'),
    path('phbjbc', RankRewardHoutaiSaveView.as_view(), name='后台保存排行榜奖励'),
    path('phbjjl', RankRewardHoutaiClaimsView.as_view(), name='后台排行榜领取明细'),

    path('hqdplbsj', ShopListView.as_view(), name='获取店铺列表数据'),
    path('xgdpxx', ShopModifyView.as_view(), name='修改或添加店铺数据'),


    path('htdphqsplx',   ShopPublicTypeAndAuditView.as_view(), name='后台获取店铺公共商品类型，默认审核配置'),
    path('htdphqdpys',   ShopListForProductView.as_view(), name='后台获取商品店铺'),
    path('htdphqyssplx', ShopProductTypeMappingView.as_view(), name='后台获取商品店铺类型'),
    path('htxgdpsplx',   ShopProductModifyView.as_view(), name='后台修改店铺商品类型和默认审核模式'),

    path('hqhtdpsplx', ProductListView.as_view(), name='后台获取店铺商品数据'),
    path('htxgdpspsj', ProductModifyView.as_view(), name='后台修改店铺商品数据'),
    path('htfzdpspsj', ShopCopyCatalogView.as_view(), name='后台复制店铺商品目录'),

    path('kfhqltqx', KefuChatPermissionsView.as_view(), name='后台获取客服聊天配置'),
    path('kfimssclub', KefuImUserClubFilterView.as_view(), name='客服聊天按俱乐部过滤客户ID'),


    path('htglyhqcfsltj', FaKuanTongJiView.as_view(),name='后台罚单统计图片'),  # 罚款统计
    path('hthqfklb', FaKuanLieBiaoView.as_view(),name='后台罚单列表'),       # 罚款列表
    path('glyclfk', FaKuanChuLiView.as_view(),name='后台罚单操作'),          # 处理罚款
    path('glyptshfk', FaKuanPingTaiShenHeView.as_view(), name='后台罚款平台审核'),
    path('htfksc', FaKuanChuangJianView.as_view(),name='后台生成罚单'),      # 创建罚款
    path('kffkdssq', FineApplyView.as_view(), name='客服罚款申请'),          # 客服罚款申请
    path('kpcf', PunishDashouView.as_view(), name='客服处罚打手'),           # 客服处罚打手

    path('hqbkxx', HqbkxxView.as_view(), name='获取板块数据'),   # 获取板块数据
    path('bkxg', BkxgView.as_view(), name='板块增删改查'),         # 板块增删改
    path('caiwu', CaiwuView.as_view(), name='财务页面基础数据'),

    path('cwhybkhq', CwhybkhqView.as_view(), name='财务会员模块'),
    path('hybkjtsj', HybkjtsjView.as_view(), name='财务会员统计'),
    path('szxx', SzxxView.as_view(), name='详细收支记录'),

    path('cwddhqlx', CwddhqlxView.as_view(), name='后台财务获取订单类型'),
    path('cwhqjtddsj', CwhqjtddsjView.as_view(), name='后台财务获取订单数据'),
    path('cwqtczhq', CwqtczhqView.as_view(), name='财务获取其他充值统计'),

    path('khpzhq', KhpzhqView.as_view(), name='后台获取称号配置'),
    path('chzsgc', ChzsgcView.as_view(), name='后台对称号增删改查'),

    path('khggl', KhgglView.as_view(), name='获取考核管信息'),
    path('shgxgsj', ShgxgsjView.as_view(), name='修改考核管数据'),
    path('khjlgl', KhjlglView.as_view(), name='考核记录列表与统计'),
    path('khjlcz', KhjlczView.as_view(), name='考核记录操作'),

    path('zxkfghds', ZxkfghdsView.as_view(), name='链接换打手或重新下单'),



]