app目錄下創(chuàng)建了api和admin應(yīng)用,不支持配置admin/config和api/config嗎?...
我在 webman public 目錄下vue文件夾里部署運(yùn)行開(kāi)發(fā)環(huán)境了. 運(yùn)行vue開(kāi)發(fā)環(huán)境 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...
我用StaticFile中間件做了個(gè)驗(yàn)證 我現(xiàn)在的方法是 class StaticFile implements MiddlewareInterface { public function process(Request $request, callable $next): Response { // Access to files beginning with. Is prohibi...
各位大佬平時(shí)怎么獲取真實(shí)IP的 我測(cè)試過(guò)了以下的方法 var_dump( $request->getRealIp(), $request->getRemoteIp(), $request->getClientIp() ); 都不正確最后用了 $region = explode(",",$request->header('x-forwarded-for')); var_d...
easywechat 6 怎么實(shí)現(xiàn)消息解密 文檔地址:https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/Before_Develop/Message_encryption_and_decryption.html 已經(jīng)收到了消息,但是不知道怎么解密,官方demo是php7.2,有些函數(shù)不支持,換了就不能解密,下面是我...
報(bào)錯(cuò) Workerman[start.php] start in DEBUG mode Workerman[start.php] already running /config/service.php A項(xiàng)目 return [ 'listen' => 'http://0.0.0.0:8787', 'transport' => 'tcp', 'context' => [], ...
問(wèn)題描述 easywechat 6.x 回調(diào)拿不到數(shù)據(jù) easywechat 官方提供的回調(diào)代碼 $server = $app->getServer(); $server->handlePaid(function (Message $message, \Closure $next) { // $message->out_trade_no 獲取商戶訂單號(hào) // $message->...
修改代碼之后需要等幾分鐘才會(huì)更新,甚至需要重啟服務(wù) debug 也開(kāi)了,目錄權(quán)限也www 755,不知道為什么,我在phpstrom修改代碼上傳到ftp時(shí)候服務(wù)器代碼延遲更新,而是幾分鐘后刷新看看才更新??戳艘幌氯罩疽矝](méi)有報(bào)錯(cuò)。 哪位大佬知道怎么回事嗎? 服務(wù)器配置4核(vCPU) 16 GiB app.config.debug = true; //debug已開(kāi)啟 runtime 日志 沒(méi)有報(bào)錯(cuò) 使用工具 phpS...