api: Add mini-prog-entry/aF6EKr9xMu.txt
This commit is contained in:
parent
16881d73f4
commit
9a77953709
@ -1241,6 +1241,20 @@ class MiniProgEntryView(BaseView):
|
||||
tid = request.GET.get('tenant') or tid_by_code(sc)
|
||||
return mini_prog_entry_redirect(code, tid)
|
||||
|
||||
class MiniProgEntryVerifyView(BaseView):
|
||||
name = 'mini-prog-entry/aF6EKr9xMu.txt'
|
||||
path_prefix = ''
|
||||
|
||||
@classmethod
|
||||
def get_urls(self):
|
||||
from django.urls import re_path
|
||||
return [
|
||||
re_path(r'mini-prog-entry/aF6EKr9xMu.txt', MiniProgEntryVerifyView.as_view()),
|
||||
]
|
||||
|
||||
def get(self, request):
|
||||
return HttpResponse('bd371601b5b23b418aa3cd1b18dacb51')
|
||||
|
||||
class MiniProgEntryVView(View):
|
||||
def get(self, request):
|
||||
fp = request.get_full_path()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user