app应用单独配置怎么实现?

app目录下创建了api和admin应用,不支持配置admin/config和api/config吗?...

aspire 发表与 2023-11-06 330 浏览 1 回答
vue 项目开发环境怎么部署到public下 (已解决)

我在 webman public 目录下vue文件夹里部署运行开发环境了. 运行vue开发环境 App running at: - Local: http://localhost:9527/ - Network: http://172.16.1.129:9527/ Note that the development build is not optimized. To create a production b...

aspire 发表与 2023-10-17 602 浏览 1 回答
资源访问加密方案,求大佬帮忙看看

我用StaticFile中间件做了个验证 我现在的方法是 class StaticFile implements MiddlewareInterface { public function process(Request $request, callable $next): Response { // Access to files beginning with. Is prohibi...

aspire 发表与 2023-10-10 306 浏览 0 回答
怎么获取客户端真实IP?

各位大佬平时怎么获取真实IP的 我测试过了以下的方法 var_dump( $request->getRealIp(), $request->getRemoteIp(), $request->getClientIp() ); 都不正确最后用了 $region = explode(",",$request->header('x-forwarded-for')); var_d...

aspire 发表与 2023-10-08 630 浏览 1 回答
求推荐 vue2 后台

除了webman-admin layui ,大家都在用什么后台, 有没有vue2的, 求推荐。🌹...

aspire 发表与 2023-10-08 410 浏览 1 回答
easywechat 6 怎么实现消息解密

easywechat 6 怎么实现消息解密 文档地址:https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/Before_Develop/Message_encryption_and_decryption.html 已经收到了消息,但是不知道怎么解密,官方demo是php7.2,有些函数不支持,换了就不能解密,下面是我...

aspire 发表与 2023-09-26 504 浏览 1 回答
一个服务器怎么运行两个webman项目? (已解决)

报错 Workerman[start.php] start in DEBUG mode Workerman[start.php] already running /config/service.php A项目 return [ 'listen' => 'http://0.0.0.0:8787', 'transport' => 'tcp', 'context' => [], ...

aspire 发表与 2023-08-25 698 浏览 1 回答
easywechat 6.x 回调报错

问题描述 easywechat 6.x 回调拿不到数据 easywechat 官方提供的回调代码 $server = $app->getServer(); $server->handlePaid(function (Message $message, \Closure $next) { // $message->out_trade_no 获取商户订单号 // $message->...

aspire 发表与 2023-08-17 673 浏览 2 回答
webman 延迟运行 (已解决)

修改代码之后需要等几分钟才会更新,甚至需要重启服务 debug 也开了,目录权限也www 755,不知道为什么,我在phpstrom修改代码上传到ftp时候服务器代码延迟更新,而是几分钟后刷新看看才更新。看了一下日志也没有报错。 哪位大佬知道怎么回事吗? 服务器配置4核(vCPU) 16 GiB app.config.debug = true; //debug已开启 runtime 日志 没有报错 使用工具 phpS...

aspire 发表与 2023-08-16 605 浏览 1 回答

aspire

40
积分
0
获赞数
0
粉丝数
2023-08-16 加入
🔝