| 123456789101112131415161718192021222324252627 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>Title</title>
- <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
- </head>
- <body>
- <h5>1234</h5>
- <script>
- $(function () {
- var url = 'http://192.168.74.1:9000/getUserListInfo';//获取
- var postdata = {};
- $.post(url, postdata, function (result) {
- var JSON = eval('(' + result + ')');
- if(JSON.code == 0){
- toastr.success('修改成功','提示',opts);
- initDatatable();
- }else{
- console.log(JSON);
- toastr.warning(JSON.memo,'提示',opts);
- }
- });
- })
- </script>
- </body>
- </html>
|