摘要:
<h4>费用信息</h4> <table class="table"> <tr> <td>就诊医院</td> <td>医院地址</td> <td>就诊科室</td> <td>急诊医生</td> <td>医生职称</td> <td> 费用明细 </td> </tr> <tr> <td>山西省第二人民医 阅读全文
摘要:
1,参考上篇博客,获取access_token https://www.cnblogs.com/xiaoyantongxue/p/15803334.html 2:控制器写以下代码 /* * 获取普通access_token * */ public function getToken() { $acc 阅读全文
摘要:
1:百度智能云,获取AppID,API Key,Secret Key https://console.bce.baidu.com/ai/?_=1642339692640&exraInfo=aipe#/ai/antiporn/app/detail~appId=3036325 2:下载phpSDK,并解 阅读全文
摘要:
官方文档 https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Receiving_standard_messages.html 1:结合上篇继续再services目录下的WechatService.php继续封装 h 阅读全文
摘要:
1:config 文件下新建一个文件wechat.php,将个人id和秘钥写入配置文件 网址: https://developers.weixin.qq.com/doc/offiaccount/Basic_Information/Get_access_token.html <?php return 阅读全文
摘要:
微信公众号开发完整教程(一) PHP7.0版本,TP5.0框架 技术标签: 微信公众号开发 因为工作的需要,这一两年对微信公众号和小程序,项目制作的比较多。所以我才打算写一篇全面的制作教程,当然了,最好的教程是微信工作平台的文档。我这里只是讲述一下我的工作中的制作流程。所有相关文章的源码,我托管在我 阅读全文
摘要:
1:项目目录新建php文件和html文件,这里我建了一个swoole文件夹,chat.php 和chat.html 2:将项目同步上线 0.0.0.0 代表的是所有人都可以连接。 chat.php代码: <?php //创建WebSocket Server对象,监听0.0.0.0:9507端口 $w 阅读全文
摘要:
1:查看端口有没有占用,这里比如9501 端口 netstat -anp | grep 9501 2:去宝塔和阿里云服务器开放端口 3:建立swool目录,建立server.php进行搭建服务器 4:将文件上线,可参考其他博客或者专高3有道云 5:宝塔终端 启动 php swoole.php 6:浏 阅读全文
摘要:
1:composer安装: composer require qiniu/php-sdk 2: 配置使用: 在tp5.1的配置文件app.php中配置七牛云的参数 'qiniu' => [ 'accesskey' => '你的accesskey', 'secretkey' => '你的secretk 阅读全文