swoft icon indicating copy to clipboard operation
swoft copied to clipboard

🚀 PHP Microservice Full Coroutine Framework

Results 117 swoft issues
Sort by recently updated
recently updated
newest added

| Q | A | ------------------- | ----- | Bug report? | yes | Feature request? | yes | Swoft version | 2.0.9 (by `php bin/swoft -V`) | Swoole version...

swoft: rpc
swoft: server

框架内置 的有通过函数来访问RPC服务吗?还是目前框架只有控制器注解访问玛?

question: usage
swoft: rpc

百度移动版蜘蛛访问网站时会报rpc调用异常。 源码: ![图片](https://user-images.githubusercontent.com/33847736/81761710-3a103980-94fd-11ea-9d83-17ccfdef8cfe.png) 输出结果: ![图片](https://user-images.githubusercontent.com/33847736/81761732-472d2880-94fd-11ea-8895-a6051423c8be.png) 可以看出来 json_encode没有输出结果 100% 随时都可以复现。

swoft: rpc

t通过模型查询出来的数据是小驼峰,能否可以取出下划线形式。如果不能建议添加这个,数据是驼峰很不友好

question: resolved

| Q | A | ------------------- | ----- | Bug report? | yes | Feature request? | no | Swoft version | 2.0.9 | Swoole version | 4.5.0 | PHP...

bug: waiting fix
swoft: db
swoft: rpc

如果把查询语句进行分组查询,用Message::success('商品列表11',$wareList);返回的时候,就会有一个空的键,把分组去掉,就是正常的二维数组。 ``` { "msg": "商品列表11", "data": { "": [ //这里有个空的键名 { "id": 1, "title": "精品翡翠1号大师锻造手镯工艺极", "picture": "[\"/uploads/20191118/7893dd9beba39421db00fc20925e66bb.png\"]", "category_id": 2, "price": "200.00", "buyPrice": "0.01", "endTime": 1587006559, "label": "源头", "type": 2, "peoples":...

swoft: db

现在是启动一个服务,绑定多个域名。希望能增加 域名和controller的绑定的功能。

suggestion
swoft: http

| Q | A | ------------------- | ----- | Feature request? | yes | Swoft version | 2.0.8 在用到redis发布/订阅功能时,在订阅回调函数中获取到的频道名称会自动加上redis缓存prefix,但是在订阅函数的频道数组中还是发布时的频道(不含redis的prefix),两者不统一,会给后面的频道参数匹配带来不必要的麻烦。

swoft: redis

我创建了一个普通类,但是match_redis是null,在控制器或者命令行脚本里面加就没有问题,帮忙排查下 ```php use Swoft\Bean\Annotation\Mapping\Bean; use Swoft\Bean\Annotation\Mapping\Inject; use Swoft\Redis\Pool; /** * Class BasicService * * @Bean() */ class BasicService { /** * @Inject("redis.match_queue.pool") * * @var Pool */ private $match_redis; ```

question: usage
swoft: redis