init
This commit is contained in:
17
app/README.md
Normal file
17
app/README.md
Normal file
@@ -0,0 +1,17 @@
|
||||
# K12Study App
|
||||
|
||||
`app` 目录用于微信小程序项目骨架,占位承接家长端、学生端或轻量移动端能力。
|
||||
|
||||
## 当前结构
|
||||
|
||||
- `src/app.*`: 小程序全局入口
|
||||
- `src/pages/home`: 首页占位
|
||||
- `src/pages/profile`: 我的页占位
|
||||
- `src/api`: 调用后端 `/api/auth`、`/api/upms` 的接口封装预留
|
||||
- `src/utils/request.js`: 小程序请求基础封装
|
||||
|
||||
## 使用方式
|
||||
|
||||
1. 使用微信开发者工具打开 [project.config.json](/f:/Project/K12study/app/project.config.json)
|
||||
2. 确认 `miniprogramRoot` 指向 `src`
|
||||
3. 按实际环境修改 `src/utils/request.js` 中的 `BASE_URL`
|
||||
Reference in New Issue
Block a user