verify wechat

This commit is contained in:
caoqianming 2019-12-11 22:45:32 +08:00
parent 08565de0e3
commit 5c6dcf315f
2 changed files with 3 additions and 0 deletions

View File

@ -173,6 +173,7 @@ urlpatterns = [
path('test',views.test),
path('.well-known/pki-validation/fileauth.txt',views.vewechat),#验证
path('miniprogram/boUR15vyNu.txt',views.minip_px),
path('boUR15vyNu.txt',views.vewechat2),
#合作模块

View File

@ -3479,6 +3479,8 @@ def unbindmp(req):
def vewechat(req):
return HttpResponse('201810170853050zbwtyaxirqeb757umcehktirlemh2ib10kcdovka13hchyf4s', content_type="text/plain")
def vewechat2(req):
return redirect('/media/verify/boUR15vyNu.txt')
def minip_px(req):
f = StringIO()