# thinkphp first learn2021.4.27
**Repository Path**: blueskyphp/thinkphp-first-learn2021.4.27
## Basic Information
- **Project Name**: thinkphp first learn2021.4.27
- **Description**: No description available
- **Primary Language**: PHP
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2021-04-27
- **Last Updated**: 2021-06-07
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
thinkphp6 的api写法。
http://www.域名.com/index.php/user
index.php/user/id等。
可以用 apipost.cn来测试接口
要加index.php,如果不加,要另外设置
api resource: https://www.kancloud.cn/manual/thinkphp6_0/1037501
---------------
php think make:controller User --api
php think make:validate User
----------
thinkphp官方文档:
kan-- thinkphp 6
api resource -- thinkphp 6
api validate -- thinkphp 6