chore: 初始开源发布

iotlcm-app:小程序端 + 用户端服务。

- app/:uni-app 小程序前端(基于 unibest,MIT)
  - 微信 AppID → YOUR_WX_APPID,uni-app AppID → __UNI__YOURAPPID
  - 内网后端地址 → admin.iotlcm.example.com
  - 应用标题与 unibest 模板 README 重写(保留上游致谢与 MIT 声明)
- server/:GoFrame 用户端服务(基于 XiuAdmin,Apache-2.0)
  - module xiuadmin → git.5iot.com/iotlcm-public/iotlcm-app(360 文件)
  - 支付回调地址 → app.iotlcm.example.com,商户名与应用名泛化
  - 真实手机号 → 合法 11 位编造号(保留号段前 3 位 + 后 4 位)
  - 依赖号码尾部的断言同步更新
  - 补 server/LICENSE(Apache-2.0)
- 移除内部资产:CI 触发器
- 补根 README,LF 行尾 + .gitattributes

已知:TestSysDept_RefreshDeptAncestors 在源仓同一提交上同样失败,属既有缺陷。
This commit is contained in:
MiFaZhan
2026-10-26 14:01:25 +08:00
commit 2ed5dfa6a1
1013 changed files with 138466 additions and 0 deletions
+66
View File
@@ -0,0 +1,66 @@
<p align="center">
<img width="120" src="./src/static/logo.svg">
</p>
<h1 align="center">iotlcm-app-ui</h1>
<div align="center">
iotLCM 物联网卡全生命周期管理平台的**小程序端**。
基于 [unibest](https://github.com/unibest-tech/unibest)(MIT License)二次开发。
[![node version](https://img.shields.io/badge/node-%3E%3D18-green)](https://nodejs.org)
</div>
## 技术栈
`uniapp` + `Vue3` + `TypeScript` + `Vite5` + `UnoCSS` + `wot-ui` + `z-paging`
## 本地开发
```bash
pnpm install
pnpm dev:mp-weixin # 微信小程序
pnpm dev:h5 # H5
```
## 构建
```bash
pnpm build:mp-weixin # 微信小程序(产物在 dist/build/mp-weixin)
pnpm build:h5
```
## 配置
环境变量文件在 `env/`:
| 文件 | 用途 |
| --- | --- |
| `.env` | 通用配置(应用标题、端口、uni-app AppID、微信 AppID、公开路径) |
| `.env.development` | 开发环境(后端地址) |
| `.env.production` | 生产环境 |
| `.env.test` | 测试环境 |
**公开版里的标识是占位符**:
| 变量 | 占位 | 说明 |
| --- | --- | --- |
| `VITE_WX_APPID` | `YOUR_WX_APPID` | 微信小程序 AppID |
| `VITE_UNI_APPID` | `__UNI__YOURAPPID` | uni-app 应用标识 |
| `VITE_SERVER_BASEURL` | `http://localhost:8010/api/v1` | 后端地址 |
| `VITE_MP_SERVER_BASEURL` | `https://admin.iotlcm.example.com/app/api/v1` | 生产后端地址 |
## 上游与许可
本项目基于 **[unibest](https://github.com/unibest-tech/unibest)**(MIT License)二次开发。
- 上游版权声明保留在 [`LICENSE`](./LICENSE)
- iotLCM 相关的业务页面、路由、配置为本项目新增
- 上游仓库:[unibest-tech/unibest](https://github.com/unibest-tech/unibest)
## License
[MIT](./LICENSE)