原文:微信退款报错 400 the ssl certificatie error / no required SSL certificate was sent ; Guzzle json_encode Type is not supported;

bug随笔 一 起因。 在做一个点餐类小程序,本地测试ok。上测试的时候,突然就报错,微信退款失败。 二 Debug。 . Debug trace到页面直接显示的是 :Type is not supported。一个莫名其妙的错误。 . 定位代码,发现用的是 easywechat 库。以为是测试环境 composer 安装错了版本,或依赖库有冲突。于是重新安装,无果。 . 网上搜罗了一下,Guzz ...

2022-01-27 15:13 0 1698 推荐指数:

查看详情

json_encode用法

($row['data']); } 2.将数据转成json $data_arr=array ...

Mon Aug 12 22:40:00 CST 2013 0 3683
json_encode注意

PHP5.2或以上的版本把json_encode作为内置函数来用,但只支持utf-8编码的字符,否则中文就会出现乱码或者空值。解决办法如下: 1.保证在使用JSON处理的时候字符是以UTF8编码的。具体我们可以把数据库编码和页面编码都改为UTF8。如果喜欢用gbk编码的话,可以在进行JSON处理 ...

Tue Jan 06 01:02:00 CST 2015 0 2858
Nginx Ssl On 报错 400 Bad Request

线上调整了下nginx配置后,出现 400 Bad Request The plain HTTP request was sent to HTTPS port 参考链接 https://github.com/alibaba/tengine/issues/854 ...

Tue Jun 09 18:08:00 CST 2020 0 1274
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM