Commit 986640fb by 冷斌

update

parent 55dd3f27
......@@ -36,14 +36,13 @@
<script src="__PUBLIC__/js/socket.io.js"></script>
<script type="text/javascript">
var socket = new io("{$config['chatserver']}");
$(".js-ajax-submit").on("click",function(){
var content=$.trim( $("#content").val() );
if(!content){
alert("内容不能为空");
return !1;
}
var socket = new io("{$config['chatserver']}");
$.ajax({
url:'./index.php?g=admin&m=system&a=send',
data:{content:content},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment