weijiajia

Results 11 issues of weijiajia

![Snipaste_2023-06-22_16-43-37](https://github.com/openchatai/OpenChat/assets/71494064/029b0ad6-19ec-4550-938f-1a87f7b43568) ![Snipaste_2023-06-22_16-44-16](https://github.com/openchatai/OpenChat/assets/71494064/0b94171f-7dca-44a4-8d5f-f4cfc5f84d54) How to map local code to /var/www/html in container ? ![image](https://github.com/openchatai/OpenChat/assets/71494064/bc3e9fb3-48dd-47af-9ba0-94d98e84b6cc) I try to add './backend-server:/var/www/html' in backend-server volumes, but the openchat-backend-server container keeps restarting and reporting error...

enhancement

### Is there an existing issue for this? - [X] I have searched the existing issues ### Current Behavior colab 文件运行环境 ### Expected Behavior _No response_ ### Steps To Reproduce...

### 在本地使用docker 搭建的环境可以运行吗? ### 构建坏境 ```bash docker run -ti --volume="$(pwd)":/wechaty --rm node:16 /bin/bash ``` ### 使用的版本: ![image](https://github.com/wechaty/puppet-padlocal/assets/71494064/722c02d8-1b26-4ddc-94d4-9f1ba6882bc3) ### 测试代码 ![image](https://github.com/wechaty/puppet-padlocal/assets/71494064/6bde7353-d771-4c24-bb3b-64592096fd68) ### 运行报错 ![image](https://github.com/wechaty/puppet-padlocal/assets/71494064/77635847-3d3f-4a57-99c7-c1f64659ab47) ### 网络检查 ![image](https://github.com/wechaty/puppet-padlocal/assets/71494064/cf10d8b7-16d5-483e-b612-755179862402)

Hyperf 框架中使用分表时关联关系查询报错的问题 求助问题已经发布到社区了,有什么好的解决办法嘛? https://learnku.com/laravel/t/86535

question

![image](https://user-images.githubusercontent.com/71494064/206857860-5c86dee8-fee1-479b-bda3-2c0c5e6c140a.png) 这里是一对多的关系,放回的类型是不是有点问题,应该是Collection

### 1. 在 PHP 8.2.x 中,要求方法的返回类型必须与接口或父类中定义的返回类型一致,因此在 think\migration\Factory 类中的 offsetExists 方法中显式指定返回类型。这样可以确保方法的返回类型与 ArrayAccess 接口的要求一致 ![image](https://github.com/top-think/think-migration/assets/71494064/a392d1df-44c6-4dcb-90fa-21e820763b2a) 在 think\migration\Factory 类中 修改 ![image](https://github.com/top-think/think-migration/assets/71494064/5684a33a-d46e-49a5-b039-e04c3135f79e) ### 2. fzaninotto/faker 扩展包已经停止更新了并且不支持 php8.x ,建议可以使用 [akerphp/faker](https://packagist.org/packages/fakerphp/) 希望能修复这个问题,现在我是在本地直接修改扩展包代码,另外我也想贡献我的代码,是直接fock 然后修改提交嘛?

Fatal error: Trait "Hyperf\Utils\InteractsWithTime" not found in /opt/www/vendor/lysice/hyperf-redis-lock/src/Lock.php on line 8

## 📚 Documentation (A clear and concise description of what the issue is.)

### Version Command-line (Python) version ### Operating System Windows 11 ### Your question Instructions mention Docker/Docker Compose...but where is it? 😂

question