责任制度
This commit is contained in:
commit
4d0659c403
|
@ -36,9 +36,11 @@
|
|||
|
||||
{% endif %}
|
||||
<script>
|
||||
if(window.__wxjs_environment === 'miniprogram'){document.getElementById("mpdiv").innerHTML = "<input onclick='back()' type='button' value='返回小程序'></input>"
|
||||
|
||||
}
|
||||
wx.miniProgram.getEnv(function(res) {
|
||||
if(res.miniprogram){
|
||||
document.getElementById("mpdiv").innerHTML = "<input onclick='back()' type='button' value='返回小程序'></input>"
|
||||
}
|
||||
})
|
||||
function back(){
|
||||
wx.miniProgram.reLaunch({url:'/pages/main/main'})
|
||||
}
|
||||
|
|
|
@ -181,8 +181,13 @@ urlpatterns = [
|
|||
path('test',views.test),
|
||||
path('.well-known/pki-validation/fileauth.txt',views.vewechat),#验证
|
||||
path('miniprogram/boUR15vyNu.txt',views.minip_px),
|
||||
<<<<<<< HEAD
|
||||
path('api/getresbilitydata',views.getresbilitydata),#责任制
|
||||
path('api/getprodata',views.getprodata),#操作规程
|
||||
=======
|
||||
path('boUR15vyNu.txt',views.minip_px),
|
||||
|
||||
>>>>>>> a4a3b20c8aa023a59b49709971b32d9bc8d9bb43
|
||||
|
||||
#合作模块
|
||||
path('edu/',include('safesite.edu.urls')),
|
||||
|
|
|
@ -3495,6 +3495,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()
|
||||
|
|
Loading…
Reference in New Issue