01 2017 档案

摘要:序列化中文时之所以乱码是因为.serialize()调用了encodeURLComponent方法将数据编码了 解决方法就是进行解码 原因:.serialize()自动调用了encodeURIComponent方法将数据编码了 解决方法:调用decodeURIComponent(XXX,true); 阅读全文
posted @ 2017-01-05 15:45 s.octopus 阅读(2401) 评论(0) 推荐(0)
摘要://新建规格public function construction(){ $id = $_GET['id'];//dump($id);die; $this->assign('id', $id); if(IS_POST){ $admin_id = $_POST['admin_id']; $sta_n 阅读全文
posted @ 2017-01-04 10:26 s.octopus 阅读(2472) 评论(0) 推荐(0)