随笔分类 -  PHP

php、thinkphp
摘要:一、需求 webapi代码保存在github上,客户服务器要实时同步更新代码。实现方案, github仓库新建webhook钩子,开发电脑修改代码push到github后,webhook调用客户服务器的接口git pull 更新本地的代码。 实现代码如下: $cmd = 'd: && cd /cod 阅读全文
posted @ 2023-04-18 14:37 panbin_2006 阅读(152) 评论(0) 推荐(0) 编辑
摘要:测试环境: php: PHP 5.6 框架:ThinkPHP5.1 数据库:SQL Server 2008 R2 **问题描述:**ThinkPHP5调用储存过程,生成数据有空值。 Db::startTrans(); //直接通过Db类执行sql Db::execute("execute sp_Ma 阅读全文
posted @ 2022-07-08 11:46 panbin_2006 阅读(288) 评论(0) 推荐(0) 编辑
摘要:Your configuration dose nt allow connections to http://packagist.phbcomposer.ocm/apckages.json.... 需要默认禁用https请求,解决方法是设置一个本地或全局的composer配置: composer c 阅读全文
posted @ 2022-05-22 22:51 panbin_2006 阅读(1233) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示