Files
ulthon_admin/AGENTS.md

26 lines
1000 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## 不应该做的事情
1. 一般而言你不需要直接修改开发环境除了安装composer依赖或其他开发相关的资源。但你不应该自己安装docker、mysql、redis等基础环境这些由开发者提前维护好。
2. 一般而言你不需要修改环境配置文件(如 `.env`),这些由开发者提前维护好,如果你发现错误应当提示开发者完善相关的配置。
3. 你不需要自己运行项目程序,开发者会提前运行好,以便你直接在开发过程中调试。
## 需要遵守的规则
基本规则参考 [CODERULE.md];
更多规则参考在线文档 https://doc.ulthon.com/read/augushong/ulthon_admin/home/zh-cn/2.x.html
## 框架工具
### 数据库操作
项目内置了数据库操作工具,可以直接在命令行中执行数据库操作。命令是:
```bash
php think tools:db:execute
php think tools:db:query
php think tools:db:table
php think tools:db:count
php think tools:db:info
php think tools:db:desc
```