verify wechat
This commit is contained in:
parent
08565de0e3
commit
5c6dcf315f
|
|
@ -173,6 +173,7 @@ urlpatterns = [
|
||||||
path('test',views.test),
|
path('test',views.test),
|
||||||
path('.well-known/pki-validation/fileauth.txt',views.vewechat),#验证
|
path('.well-known/pki-validation/fileauth.txt',views.vewechat),#验证
|
||||||
path('miniprogram/boUR15vyNu.txt',views.minip_px),
|
path('miniprogram/boUR15vyNu.txt',views.minip_px),
|
||||||
|
path('boUR15vyNu.txt',views.vewechat2),
|
||||||
|
|
||||||
|
|
||||||
#合作模块
|
#合作模块
|
||||||
|
|
|
||||||
|
|
@ -3479,6 +3479,8 @@ def unbindmp(req):
|
||||||
def vewechat(req):
|
def vewechat(req):
|
||||||
return HttpResponse('201810170853050zbwtyaxirqeb757umcehktirlemh2ib10kcdovka13hchyf4s', content_type="text/plain")
|
return HttpResponse('201810170853050zbwtyaxirqeb757umcehktirlemh2ib10kcdovka13hchyf4s', content_type="text/plain")
|
||||||
|
|
||||||
|
def vewechat2(req):
|
||||||
|
return redirect('/media/verify/boUR15vyNu.txt')
|
||||||
|
|
||||||
def minip_px(req):
|
def minip_px(req):
|
||||||
f = StringIO()
|
f = StringIO()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue