-
1. json-rpc提供服务的时候,函数参数无法使用多类型。
2. json-rpc兼容性不够。无法指定URL
3. json-rpc对接受到的值处理兼容性不够,无法使用默认值。和类型检测。
除了第一个问题以外,另外两个自己魔改了一下。问题2
文件:JsonRpcHttpTransporter
>
233cy updated
2 years ago
-
我卸载了一次 再次安装不知道为什么一直出现
grouping policy elements do not meet role definition 这个错误 流程都是正确的
-
When I use it in workerman, the data I get is always the same,What should I do if I want to get a new instance.
```php
$policy = Enforcer::getPolicy();
````
>Even if my database has been update…
-
I am getting this issue, when I used following steps to reproduce this issue.
1. I am using laravel Laravel Framework 6.20.38.
2. add permission of logged user in laravel. Below are my code: $e…
-
/config/autoload/server.php
`
...
'callbacks' => [
// 在里面重载所有角色的权限
Event::ON_START=> [App\Controller\IndexController::class, 'onInit'],
Event::ON_WORKER_START =>…
-
**Describe the bug**
An error occurred while trying to create the RBAC model.
`array_combine(): Both parameters should have an equal number of elements`
Check the error code address and find t…
-
Execute the command and paste the result below.
Command: `uname -a && php -v && composer info | grep hyperf && php --ri swoole`
```bash
Darwin wangdongdeMacBook-Pro.local 21.2.0 Darwin Kernel V…
-
```bash
Linux 986fae5cc3f1 5.10.16.3-microsoft-standard-WSL2 #1 SMP Fri Apr 2 22:23:49 UTC 2021 x86_64 Linux
PHP 8.0.13 (cli) (built: Nov 30 2021 08:08:04) ( NTS )
Copyright (c) The PHP Group
Zend…
-
使用方法
```php
Enforcer::addRoleForUser('users','roles');
Enforcer::addPermissionForUser('user','per');
```
报错信息
```log
PHP Fatal error: Uncaught Error: Call to a member function getType…
-
Execute the command and paste the result below.
Command: `uname -a && php -v && composer info | grep hyperf && php --ri swoole`
```bash
# Paste the result here.
```
Darwin caoxuewendeMacBook-…