<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[qq_35327536的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/qq_35327536</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; qq_35327536]]></copyright><item><title><![CDATA[PHP 对接京东白条加解密+签名 AES/ECB/PKCS5Padding RSA/ECB/PKCS1Padding]]></title><link>https://blog.csdn.net/qq_35327536/article/details/129276998</link><guid>https://blog.csdn.net/qq_35327536/article/details/129276998</guid><author>qq_35327536</author><pubDate>Wed, 01 Mar 2023 11:23:23 +0800</pubDate><description><![CDATA[PHP 对接京东白条加解密+签名 AES/ECB/PKCS5Padding RSA/ECB/PKCS1Padding
对接最麻烦的是对方没有PHP的demo，只有java的代码，并且在相同的算法在PHP中和java是不同的写法。]]></description><category></category></item><item><title><![CDATA[mysql 触发器 同步表数据 统计表数据]]></title><link>https://blog.csdn.net/qq_35327536/article/details/126554293</link><guid>https://blog.csdn.net/qq_35327536/article/details/126554293</guid><author>qq_35327536</author><pubDate>Sat, 27 Aug 2022 15:19:51 +0800</pubDate><description><![CDATA[【代码】mysql 触发器 同步表数据 统计表数据。]]></description><category></category></item><item><title><![CDATA[mysql模糊查询结果取反]]></title><link>https://blog.csdn.net/qq_35327536/article/details/126407602</link><guid>https://blog.csdn.net/qq_35327536/article/details/126407602</guid><author>qq_35327536</author><pubDate>Thu, 18 Aug 2022 16:11:22 +0800</pubDate><description><![CDATA[这种方式只要在这种中排除3这种类型就可以了，但是没添加一种类型就需要修改一次sql语句。同事问的这个问题，第一反应是模糊查询取反，所以感觉很有意思就记录一下。这种方式如果类型中有13、23这种带3的类型就需要修改模糊条件。最终这种方案也没有用上，同事把需求弄反了。2、只要包含3这种类型的都不能查询。......]]></description><category></category></item><item><title><![CDATA[Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request p]]></title><link>https://blog.csdn.net/qq_35327536/article/details/126308370</link><guid>https://blog.csdn.net/qq_35327536/article/details/126308370</guid><author>qq_35327536</author><pubDate>Fri, 12 Aug 2022 17:35:56 +0800</pubDate><description><![CDATA[我遇到的这个问题是在Service层中调用另一个Service，在被调用的Service中使用不了dao层报的错，原因就是我从PHP转的java，用了PHP的思想，使用new来实例化Service。具体是什么原因使用new实例化的service为什么使用不了dao层我刚开始转，还不清楚，了解的欢迎评论指点！解决方案是在成员变量中定义Service对象，添加注释：@Autowired。...]]></description><category></category></item><item><title><![CDATA[A Database Error Occurred Error Number:0]]></title><link>https://blog.csdn.net/qq_35327536/article/details/125806219</link><guid>https://blog.csdn.net/qq_35327536/article/details/125806219</guid><author>qq_35327536</author><pubDate>Fri, 15 Jul 2022 15:56:34 +0800</pubDate><description><![CDATA[在本地搭建一个线上环境一模一样的项目时触发的错误，当前错误没有任何错误信息，只是报一个sql错误，但是当前sql复制到命令行界面执行又没有任何问题，最后实在找不到问题我就把当前报错的表字段一个一个的拆开来，看报错的是设置哪些东西导致的，最后发现有一个。我当前的php环境5.6，与线上环境一直，发现问题以后去网上查一下有没有让5.6支持mysql查询json类型，找了半天没发现什么有用的信息，...]]></description><category></category></item><item><title><![CDATA[Codeigniter3.0 使用redis存储session]]></title><link>https://blog.csdn.net/qq_35327536/article/details/125616518</link><guid>https://blog.csdn.net/qq_35327536/article/details/125616518</guid><author>qq_35327536</author><pubDate>Tue, 05 Jul 2022 11:53:39 +0800</pubDate><description><![CDATA[1、公司项目用的是ci框架，第一次接触，在本地搭建ci框架的时候出现一个问题，项目session是存储在redis中的，也是第一次配置redis存储session，结果看到sess_save_path这个配置，线上项目中配置了tcp链接，平时用惯了thinkphp框架，便直接注释，运行发现无效，修改成文件路径，结果报错，提示：找不到这样的主机。2、第二次注释发现php7.4不报这个错误，但是session没有保存到redis，找不到这个值，每次保存的session重新刷新页面后就取不到缓存。3、第三次本地模]]></description><category></category></item><item><title><![CDATA[No plugin found for prefix ‘archetype‘ in the current project and in the plugin groups [org.apache.m]]></title><link>https://blog.csdn.net/qq_35327536/article/details/121704544</link><guid>https://blog.csdn.net/qq_35327536/article/details/121704544</guid><author>qq_35327536</author><pubDate>Fri, 03 Dec 2021 18:20:43 +0800</pubDate><description><![CDATA[出现这个错误的原因最大可能是本地仓库的路径中有空格，第二个可能就是网上说的网络无法访问，可以把maven的仓库换成阿里云的仓库


    &lt;mirror&gt;
      &lt;id&gt;aliyunmaven&lt;/id&gt;
      &lt;mirrorOf&gt;*&lt;/mirrorOf&gt;
      &lt;name&gt;阿里云公共仓库&lt;/name&gt;
      &lt;url&gt;https://maven.aliyun.com/repository]]></description><category></category></item><item><title><![CDATA[数据库恢复]]></title><link>https://blog.csdn.net/qq_35327536/article/details/118608871</link><guid>https://blog.csdn.net/qq_35327536/article/details/118608871</guid><author>qq_35327536</author><pubDate>Fri, 09 Jul 2021 16:28:32 +0800</pubDate><description><![CDATA[数据库被误删以后想要恢复的前提是当前数据库已经开启了数据库日志
如果数据库被误操作删除部分数据后应当立即关闭服务器，避免后面的用户进行访问导致数据库出现混乱，这样恢复起来更难。
开启数据库日志以后任何有关数据库的操作都会在数据库下的data目录中生成二进制日志文件。
日志文件：

通过你误操作的时间找到日志文件，并把日志文件下载到本地。

–start-datetime设置开始时间
–stop-datetime设置结束时间
–result-file设置需要写入的文件
mysqlbinlog根据你mysql的]]></description><category></category></item><item><title><![CDATA[腾讯云人脸识别 活体检测 人员库管理]]></title><link>https://blog.csdn.net/qq_35327536/article/details/118598008</link><guid>https://blog.csdn.net/qq_35327536/article/details/118598008</guid><author>qq_35327536</author><pubDate>Fri, 09 Jul 2021 10:26:15 +0800</pubDate><description><![CDATA[人脸识别如果无特殊要求的话流程应该是：

通过前端传来的图片检测是否为活体。
通过用户或其他方式获取当前用户所在人员库，没有时自动创建。
判断当前用户是否为第一次使用人脸识别，第一次使用时应该是收入用户人脸数据（创建人员）。
如果用户是第二次使用人脸识别，应该走人员检测接口，通过当前用户的人员ID和当前获取到的图片检测。
第三步和第四步是同一等级，一次只能走其中一个，再判断结果并把处理结果返还给前端。

安装腾讯云SDK
composer安装

选择需要的版本添加到项目的composer.json文件中。
]]></description><category></category></item><item><title><![CDATA[TP6版本更新模型变量赋值失效]]></title><link>https://blog.csdn.net/qq_35327536/article/details/114631228</link><guid>https://blog.csdn.net/qq_35327536/article/details/114631228</guid><author>qq_35327536</author><pubDate>Wed, 10 Mar 2021 11:39:21 +0800</pubDate><description><![CDATA[再一次版本更新中，发现更新后项目出现了很多BUG，检查后发现是thinkphp的ORM库再新的版本中作出了改变，导致模型变量赋值后普通的方式取值无法获取到改变后的值。
$user = User::where("id",1)-&gt;find();
//改变手机号 假设查出手机号为1553334444
$user-&gt;mobile = substr_replace($mobile, '****', 5, 4);
//打印手机号
var_dump($user-&gt;mobile);//打印出的值是1553]]></description><category></category></item><item><title><![CDATA[PHP导出excel时数字变成科学计算法]]></title><link>https://blog.csdn.net/qq_35327536/article/details/113399274</link><guid>https://blog.csdn.net/qq_35327536/article/details/113399274</guid><author>qq_35327536</author><pubDate>Fri, 29 Jan 2021 17:20:46 +0800</pubDate><description><![CDATA[原文链接
在网上找到大多都是使用phpexcel导出的，但是我使用的是htnl表格导出，所以导致很多方法都无效。最后找到一个方法就是给td标签增加属性


]]></description><category></category></item><item><title><![CDATA[cURL error 60: SSL certificate problem: unable to get local issuer certifica]]></title><link>https://blog.csdn.net/qq_35327536/article/details/112907279</link><guid>https://blog.csdn.net/qq_35327536/article/details/112907279</guid><author>qq_35327536</author><pubDate>Wed, 20 Jan 2021 17:57:29 +0800</pubDate><description><![CDATA[这个错误是因为CA证书导致的。
解决方法：打开php.ini  搜索curl.cainfo 与 openssl.cafile,将其配置成你自己cacert.pem文件的路径。
找不到curl.cainfo或openssl.cafile可复制以下内容到你的php.ini文件的最底部，修改cacert.pem路径即可
[curl]
; A default value for the CURLOPT_CAINFO option. This is required to be an
; absolute path.]]></description><category></category></item><item><title><![CDATA[MySql 拼接查询 CONCAT]]></title><link>https://blog.csdn.net/qq_35327536/article/details/112859816</link><guid>https://blog.csdn.net/qq_35327536/article/details/112859816</guid><author>qq_35327536</author><pubDate>Wed, 20 Jan 2021 11:23:57 +0800</pubDate><description><![CDATA[CONCAT的用法就是查询的时候拼接多个字段为一个字段，比较常用的就是地址拼接，比如：
//拼接用户地址的省市区、详细地址、门牌号
SELECT CONCAT(province,city,district,address,house_no) AS addre FROM user_address


还有一种情况就是我们需要搜索查询用户地址，但是又不想过多的使用or去查询，这个时候子查询+拼接就能实现我们的需求，SQL：
SELECT * FROM (SELECT CONCAT(province,city,d]]></description><category></category></item><item><title><![CDATA[微信第三方平台对于授权小程序的版本管理]]></title><link>https://blog.csdn.net/qq_35327536/article/details/112848896</link><guid>https://blog.csdn.net/qq_35327536/article/details/112848896</guid><author>qq_35327536</author><pubDate>Tue, 19 Jan 2021 19:11:37 +0800</pubDate><description><![CDATA[EasyWeChat SDK
开始处理小程序版本之前我们还需要处理一些准备工作
1、在第三方平台添加上传代码小程序

2、需要把提交的代码添加到小程序模板库

3、拿到小程序模板ID

获取代小程序实现业务对象

上传代码

//上传代码
$commit = $miniProgram-&gt;code-&gt;commit("template_id",'ext_json',"user_version","user_desc");
//$commit = $miniProgram-&gt;code-&gt;c]]></description><category></category></item><item><title><![CDATA[小程序授权微信第三方平台注意事项]]></title><link>https://blog.csdn.net/qq_35327536/article/details/112847327</link><guid>https://blog.csdn.net/qq_35327536/article/details/112847327</guid><author>qq_35327536</author><pubDate>Tue, 19 Jan 2021 17:28:12 +0800</pubDate><description><![CDATA[EasyWeChat SDK
//获取第三方平台信息
$open = config("open");
//获取第三方平台操作对象
$openPlatform = Factory::openPlatform($open);
//组通知链接URL
$url = "http://www.baidu.com";
获取授权二维码链接
$url = $openPlatform-&gt;getPreAuthorizationUrl($url,["auth_type"=&gt;2]);

请求参数详情 除了auth_typ]]></description><category></category></item><item><title><![CDATA[OpenSSL公钥 私钥 RSA]]></title><link>https://blog.csdn.net/qq_35327536/article/details/109054324</link><guid>https://blog.csdn.net/qq_35327536/article/details/109054324</guid><author>qq_35327536</author><pubDate>Wed, 14 Oct 2020 10:48:53 +0800</pubDate><description><![CDATA[获取私钥资源
$config = [
	"digest_alg" =&gt; "sha512",//摘要算法或签名哈希算法
    "private_key_bits" =&gt; 1024,//字节数    512 1024  2048   4096 等
    "private_key_type" =&gt; OPENSSL_KEYTYPE_RSA,     //加密类型
    "config" =&gt; "D:\phpstudy_pro\Extensions\Apache2.4.39\conf\o]]></description><category></category></item><item><title><![CDATA[thinkphp5.0与thinkphp6.0where条件的区别一]]></title><link>https://blog.csdn.net/qq_35327536/article/details/108825232</link><guid>https://blog.csdn.net/qq_35327536/article/details/108825232</guid><author>qq_35327536</author><pubDate>Sun, 27 Sep 2020 11:59:58 +0800</pubDate><description><![CDATA[thinkphp6.0组装where数组是这样的
 $where[] = ["user_id","=",1]

thinkphp5.0是这样的
$where["user_id"] = ["=",1]


]]></description><category></category></item><item><title><![CDATA[SVN树冲突]]></title><link>https://blog.csdn.net/qq_35327536/article/details/108671281</link><guid>https://blog.csdn.net/qq_35327536/article/details/108671281</guid><author>qq_35327536</author><pubDate>Fri, 18 Sep 2020 19:06:11 +0800</pubDate><description><![CDATA[当发生当前错误时备份冲突文件并使用下面命令执行后重新提交即可
svn remove --force .env
svn resolve --accept=working .env


]]></description><category></category></item><item><title><![CDATA[入坑日记之Internal Server Error,500 error]]></title><link>https://blog.csdn.net/qq_35327536/article/details/108662469</link><guid>https://blog.csdn.net/qq_35327536/article/details/108662469</guid><author>qq_35327536</author><pubDate>Fri, 18 Sep 2020 11:51:44 +0800</pubDate><description><![CDATA[记录一次使用tp6.0框架写的项目请求接口报500错误却不显示错误信息
在入口文件添加这两行代码即可显示错误信息
ini_set("display_errors","On");
error_reporting(E_ALL);

遇到Internal Server Error,500 error错误可能会由其他问题导致，不一定是代码报错，这篇文章把其他几种可能会导致这种错误的问题写得比较清晰。
文章链接

...]]></description><category></category></item><item><title><![CDATA[PHP版本升级7.4项目报错一]]></title><link>https://blog.csdn.net/qq_35327536/article/details/108660005</link><guid>https://blog.csdn.net/qq_35327536/article/details/108660005</guid><author>qq_35327536</author><pubDate>Fri, 18 Sep 2020 10:21:48 +0800</pubDate><description><![CDATA[Array and string offset access syntax with curly braces is deprecated

在网上查到一篇文章说{}获取字符串的方法在7.4已经丢弃了，在7.4中必须是有[]来获取。
$str = $string[1];

原文链接

]]></description><category></category></item></channel></rss>