$.post("/index.php/admin/category/sort",$("#sorted-form").serialize(),function(data){
if(data.status=='success'){
console.log($.thinkbox);
$.thinkbox.success(data.msg);
}
if(data.status=='error'){
$.thinkbox.success(data.msg);
}
},'json');
$.post("/index.php/admin/category/sort",$("#sorted-form").serialize(),function(data){
if(data.status=='success'){
console.log($.thinkbox);
$.thinkbox.success(data.msg);
}
if(data.status=='error'){
$.thinkbox.success(data.msg);
}
},'json');
转载于:https://my.oschina.net/guomingliang/blog/308752