已采纳回答 / 忆军
在数据库$pdo这块添加// 数据库$pdo = new PDO('mysql:host=localhost;dbname=restful;charset=utf8','root','root');$pdo->setAttribute(PDO::ATTR_EMULATE_PREPARES,false);return $pdo;这样就不会出现int转化为string了,这是预处理问题导致的
2017-09-22
已采纳回答 / 慕后端9595255
DELETE:$.ajax({ url: '/script.cgi', type: 'DELETE', success: function(result) { // Do something with the result }});PUT:$.ajax({ url: 'script.php', type: 'PUT', success: function( response ) { }});
2017-08-20
讲师回答 / 慕圣0362214
http://chromecj.com/web-development/2015-08/549/download.html 这边有离线版的插件。怎么装离线版可以百度
2017-05-18