phalapi icon indicating copy to clipboard operation
phalapi copied to clipboard

PhalApi开源接口框架,简称π框架,一个轻量级PHP开源接口框架,专注于接口服务开发。接口,从简单开始!

Results 33 phalapi issues
Sort by recently updated
recently updated
newest added

\PhalApi\Tool::getClientIp(); 获取IP时,可能存在不唯一的情况,在本地多次反向代理后,会把 ,127.0.0.1 也加上了。 通常我们需要取唯一的IP地址,而不是数据 故需要取数据的第0个值。

2.x源码直接下载后运行就提示Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.1.3". 文档中不是说明php版本大于5.3.3就可以了吗,我用5.6都不行,用网上的方法:将根目录中的composer.json添加 ``` "config": { "platform-check": false } ``` 在根目录下 composer dump 浏览器访问直接报错

代码是直接克隆下来的 访问: http://127.0.0.1/examples/upload.html 并上传图片 返回: http://127.0.0.1/?service=App.Examples_Upload.Go `504 Gateway Time-out nginx/1.17.9`

我想把主数据体使用Json的方式进行提交,需要修改哪些地方和参数?

同事用app发送postpost请求,这边参数接收不到,但是我自己写html或者用curl或浏览器插件这些都可以拿到参数,是不是app(安卓和ios)发送的post请求不标准还是类型不一样,拿不到参数?

你好! 我已经开启 'enable_uri_match' => true 并且配置apache如下 RewriteEngine on RewriteBase / RewriteCond %{HTTP_HOST} ^dev.api.net$ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !^/phalapi/public/ RewriteRule ^(.*)$ /phalapi/public/$1 RewriteRule ^(/)?$ index.php [L] 报错如下:...

无巧 16:38:33 @打杂-dogstar 在pgsql数据库中 $where['abc'] = ['2','3']; 应该是abc in ('2','3') $where['abc IN'] = '2,3' 应该也是 abc in ('2','3') 但返回是错误的,请留意新版需要处理一下!

![image](https://user-images.githubusercontent.com/5896512/67463676-702ac080-f674-11e9-96b5-75e373ecc791.png) ajax请求生成的base64 是我在docs.php里面请求的测试数据

sqlserver使用limit分页: `$this->getORM() ->select('*') ->limit(($page - 1) * $perpage, $perpage) ->fetchAll();` 会出现偏移量不起作用的情况,返回的结果始终是($page - 1) * $perpage的条数