chore: update default account and add example data
CRM CI / build (push) Has been cancelled

- Update default login email to xinmi@local.com
- Update default password to 12345678 (and bcrypt hash in crm.sql)
- Add example customers, products, and contracts to init SQL
- Fix Docker env interpolation for VITE_API_BASE_URL
- Hardcode local backend API URL in frontend .env files
- Update README and docs to reflect new default credentials
This commit is contained in:
yi
2026-06-09 19:14:10 +08:00
parent a205a7a49d
commit c8e607c91c
23 changed files with 60 additions and 89 deletions
+24 -2
View File
@@ -56,8 +56,8 @@ docker compose up -d --build
- **后端接口**[http://localhost:11001/api](http://localhost:11001/api)
> **默认体验账号:**
> 邮箱:`1655064994@qq.com`
> 密码:`1655064994`
> 邮箱:`xinmi@local.com`
> 密码:`12345678`
## 💻 本地开发环境
@@ -83,6 +83,28 @@ npm install
npm run dev
```
### 截图
![image-20260609182703805](images/image-20260609182703805.png)
![image-20260609185946181](images/image-20260609185946181.png)
![image-20260609185955487](images/image-20260609185955487.png)
![image-20260609190003855](images/image-20260609190003855.png)
![image-20260609190010073](images/image-20260609190010073.png)
![image-20260609190018913](images/image-20260609190018913.png)
![image-20260609190026708](images/image-20260609190026708.png)
![image-20260609190034478](images/image-20260609190034478.png)
![image-20260609190041452](images/image-20260609190041452.png)
## 📄 许可证
[MIT License](LICENSE)