LittleWisdom

Results 5 issues of LittleWisdom

composer中,单独加载autoload.php文件后,得到的是 think\slog 这个空间,而slog.php的首行是 `namespace think` 应该是 `namespace think\slog;` 使用时应该是 `\think\slog\slog::config();` `\think\slog\slog::log(');` ![image](https://cloud.githubusercontent.com/assets/11805413/16865346/93e49f4c-4a96-11e6-8a46-703e5d71d4b2.png) 请确认!

如题!围观中

enhancement

![image](https://github.com/SuperMonster003/AutoJs6-Documentation/assets/11805413/7a89dbcd-3fd1-42f3-ae08-e63eb5217901) 每次启动后都会出现 , 我 js 有心跳包 每次 3秒ping 一下,大概在30S后会出现这个错误,出现后会自动重连(我自己没写重连代码,好像是自带的),重连后这个错误就没有了 ![image](https://github.com/SuperMonster003/AutoJs6-Documentation/assets/11805413/2794d6d9-a5a6-46ab-96fa-ba97bde2c97d)

![Image](https://github.com/user-attachments/assets/fd4d3358-4f8b-456a-9124-a3d1b2498d06) 如果默认为/ ,生成的分页链接全部默认变成了 /?page=* 实际所处的url 应该为当前请求路径最为方便,如有特殊才需要配置

此方案不再需要nodejs 也不需要安装插件,在项目入口文件或者公共文件引入php , 在网址后面加上 ?slog就可以打开配置页面,配置页面有共用服务器,如果没有请自行使用编译端进行搭建使用,不过连接是要注意 ws 和wss 协议区别 [项目主页](https://z-y.site) [socket-debug-tool.zip](https://github.com/user-attachments/files/20861368/socket-debug-tool.zip)