07 2021 档案
摘要:场景: 访问地址:http://xxx.com/index.php?m=home&c=demo&a=test&keyword=3B9D082D,3B9D082A,3B9D0903,3B9D082C 把接收到参数(keyword),在sql查询中,使用in会自动加上引号 php应用代码: $param
阅读全文
摘要:代码: // 在mysql5.6,运行正常,5.7报错SELECT sum((select a.num where a.status =1) ) as total FROM mes_order_product AS a LEFT JOIN mes_order AS b ON a.osn = b.os
阅读全文
摘要:场景:做APP项目,接口请求数据。前端发起的post请求,开发环境能收到post请求,到线上变成了get。导致app一直报错 php function test(){ print_r($_SERVER): } postman模拟 解决办法:线上环境安装了ssl证书,所以把请求改为https即可 出现
阅读全文