refactor: 重命名 customer-mobile 为 cashier-customer

统一收银相关项目命名:
- cashier-mobile: 收银端(店员使用)
- cashier-customer: 顾客端(顾客使用)

更新所有相关配置和引用
This commit is contained in:
2026-06-04 08:32:24 +08:00
parent a7e056643e
commit 106e1c14fe
11 changed files with 8 additions and 8 deletions
+3 -3
View File
@@ -7,7 +7,7 @@
**rui-frontend** 是睿核科技的前端工程集合,包含:
- `admin-ui` - 管理后台(Vue3 + TypeScript + Vite
- `cashier-mobile` - 收银移动端(技术栈待定,可能是 uni-app、React Native 等)
- `customer-mobile` - 顾客移动端(技术栈待定,可能是 uni-app、React Native 等)
- `cashier-customer` - 顾客移动端(技术栈待定,可能是 uni-app、React Native 等)
## 🚫 绝对禁止
@@ -22,7 +22,7 @@
rui-frontend/
├── admin-ui/ ✅ 可修改(Vue3 管理后台)
├── cashier-mobile/ ✅ 可修改(收银移动端)
├── customer-mobile/ ✅ 可修改(顾客移动端)
├── cashier-customer/ ✅ 可修改(顾客移动端)
├── package.json ✅ 可修改(根配置)
└── pnpm-workspace.yaml ✅ 可修改
```
@@ -69,7 +69,7 @@ interface UserDTO {
- **包管理器**:pnpm(强制使用)
- **组件规范**:组合式 APIsetup 语法)
### cashier-mobile / customer-mobile(移动端)
### cashier-mobile / cashier-customer(移动端)
- **框架**uni-appVue3
- **支持平台**:小程序、H5、App
- **包管理器**pnpm(推荐)或 npm
@@ -1,5 +1,5 @@
{
"name": "顾客端",
"name": "收银顾客端",
"appid": "__UNI__CUSTOMER001",
"description": "睿核科技顾客端移动端",
"versionName": "1.0.0",
@@ -1,5 +1,5 @@
{
"name": "customer-mobile",
"name": "cashier-customer",
"version": "1.0.0",
"description": "顾客端移动端 - uni-app",
"main": "main.js",
+2 -2
View File
@@ -7,10 +7,10 @@
"scripts": {
"dev:admin": "pnpm --filter admin-ui dev",
"dev:cashier": "pnpm --filter cashier-mobile dev",
"dev:customer": "pnpm --filter customer-mobile dev",
"dev:cashier-customer": "pnpm --filter cashier-customer dev",
"build:admin": "pnpm --filter admin-ui build",
"build:cashier": "pnpm --filter cashier-mobile build",
"build:customer": "pnpm --filter customer-mobile build",
"build:cashier-customer": "pnpm --filter cashier-customer build",
"build:all": "pnpm -r build",
"lint": "pnpm -r lint",
"type-check": "pnpm -r type-check"
+1 -1
View File
@@ -1,4 +1,4 @@
packages:
- 'admin-ui'
- 'cashier-mobile'
- 'customer-mobile'
- 'cashier-customer'