msg tip bugfix

This commit is contained in:
LI JIAHAO
2017-06-16 13:31:55 +08:00
parent d75e6f3162
commit 2cfd23abeb
+1 -1
View File
@@ -120,7 +120,7 @@
@if(Session::has('user_id'))
<script>
$(document).ready(function() {
@if($_SERVER['REQUEST_URI'] != '/message')
@if(Request::path() != 'message')
getMsgNum();
window.setInterval(function(){getMsgNum()}, 5000)
@endif