常用轮子专用贴 2020年08月17日 liziyu 9 常用thinkphp6轮子收集。"topthink/framework": "^6.0.0", "topthink/think-orm": "^2.0", "top... 阅读全文 1 评论
ThinkPHP6 模型多条件关联查询 2020年08月16日 liziyu 7 switch ($searchType) { case 'name': $res = OrdersModel::hasWhere('personBase',['name'=>$searchTe... 阅读全文 0 评论
think-awesome ThinkPHP5+ 资源整理 2020年08月16日 liziyu 8 感谢ThinkPHP官方收集整理本文来自:https://github.com/top-think/think-awesome 阅读全文 0 评论
Ajax 跨域请求 Access to XMLHttpRequest 解决方案 2020年08月16日 liziyu 6 错误提示Access to XMLHttpRequest at 'http://localhost:8080/api/user/login' from origin 'http://localhost解决方案1. HTML 页面ajax 请求加入 con... 阅读全文 0 评论
AJAX内 window.location.href不跳转问题 2020年08月16日 liziyu 10 $.ajax({ url: "/Ajax/System/ajaxcheshi.ashx", dataType:'text', // datatype: "json", type: "post&qu... 阅读全文 0 评论
Apache的伪静态设置 2020年08月16日 liziyu 8 特别是网站根目录下面出现index.php不太友好,下面修改办法:Apache的伪静态设置,如下Options +FollowSymlinks -MultiviewsRewriteEngine OnRewriteCond %{REQUEST_FILENA... 阅读全文 0 评论
GatewayWorker与Laravel、ThinkPHP框架的结合 2019年07月09日 liziyu 8 具体实现步骤1、网站页面建立与GatewayWorker的websocket连接2、GatewayWorker发现有页面发起连接时,将对应连接的client_id发给网站页面3、网站页面收到client_id后触发一个ajax请求(假设是bind.php... 阅读全文 0 评论
基于rtmp的移动端推流解决方案(转) 2019年06月26日 liziyu 11 总体思路移动端推流(RTMP) ---> 流媒体服务器 ---> web服务器 ---> 网页播放移动端推流工具使用 Larixbroadcaster ,支持安卓和苹果,并且有提供SDK,方便集成与二次开发,app商店有载,https:... 阅读全文 0 评论
OBS直播推流与NDI双机直播插件 2019年06月22日 liziyu 13 OBS软件地址:https://obsproject.com/download插件地址:https://github.com/Palakis/obs-ndi/releases 阅读全文 0 评论