删除的SQL写错了,正确写法:delete from dz where did = '30'(如果did是int类型,就去掉单引号)
delete from dz where did = '30'
回调不是json,console.log(result);出来看看result是什么格式。