This commit is contained in:
AKW 2023-12-26 17:00:52 +08:00
parent 1ea5484c93
commit 6dd24df7cf
2 changed files with 2 additions and 2 deletions

View File

@ -13,8 +13,8 @@ from apps.msg.pubsub import JQRMSGPubSub
from apps.qc.choices import QcCorpInfoCallbackStatusChoices from apps.qc.choices import QcCorpInfoCallbackStatusChoices
from libs.weworkapi.callback.WXBizMsgCrypt3 import WXBizMsgCrypt, Prpcrypt from libs.weworkapi.callback.WXBizMsgCrypt3 import WXBizMsgCrypt, Prpcrypt
from utils.tools import sha1_encoder, get_attribute, camel_to_snake from utils.tools import sha1_encoder, get_attribute, camel_to_snake
from utils.base_serializer import BaseSerializer, CurrentIpDefault
import xml.etree.cElementTree as ET import xml.etree.cElementTree as ET
from utils.base_serializer import BaseSerializer, CurrentIpDefault
class WechatPublicTokenSerializer(serializers.Serializer): class WechatPublicTokenSerializer(serializers.Serializer):

View File

@ -2,7 +2,7 @@ from rest_framework.routers import SimpleRouter
from . import views from . import views
router = SimpleRouter(trailing_slash=False) router = SimpleRouter(trailing_slash=False)
router.register('event', views.WechatWorkerViewSet, basename='wechat-worker') # router.register('event', views.WechatWorkerViewSet, basename='wechat-worker')
# router.register('hook', views.HookClientController, basename='hook-client') # router.register('hook', views.HookClientController, basename='hook-client')
urlpatterns = router.urls urlpatterns = router.urls