Browse Source

1. 修改原先的文档:改内容或名称
2. 创建新文档目录:熟悉项目笔记

shizhongqi 1 year ago
parent
commit
88d8ac5e53

+ 1 - 0
.obsidian/app.json

@@ -0,0 +1 @@
+{}

+ 1 - 0
.obsidian/appearance.json

@@ -0,0 +1 @@
+{}

+ 31 - 0
.obsidian/core-plugins.json

@@ -0,0 +1,31 @@
+{
+  "file-explorer": true,
+  "global-search": true,
+  "switcher": true,
+  "graph": true,
+  "backlink": true,
+  "canvas": true,
+  "outgoing-link": true,
+  "tag-pane": true,
+  "properties": false,
+  "page-preview": true,
+  "daily-notes": true,
+  "templates": true,
+  "note-composer": true,
+  "command-palette": true,
+  "slash-command": false,
+  "editor-status": true,
+  "bookmarks": true,
+  "markdown-importer": false,
+  "zk-prefixer": false,
+  "random-note": false,
+  "outline": true,
+  "word-count": true,
+  "slides": false,
+  "audio-recorder": false,
+  "workspaces": false,
+  "file-recovery": true,
+  "publish": false,
+  "sync": true,
+  "webviewer": false
+}

+ 190 - 0
.obsidian/workspace.json

@@ -0,0 +1,190 @@
+{
+  "main": {
+    "id": "0fdd1b5ed9241f26",
+    "type": "split",
+    "children": [
+      {
+        "id": "5d8b61e1d71d4a71",
+        "type": "tabs",
+        "children": [
+          {
+            "id": "b86223d1b3917fe9",
+            "type": "leaf",
+            "state": {
+              "type": "markdown",
+              "state": {
+                "file": "server/熟悉项目笔记/表帐户信息与关系.md",
+                "mode": "source",
+                "source": false
+              },
+              "icon": "lucide-file",
+              "title": "表帐户信息与关系"
+            }
+          }
+        ]
+      }
+    ],
+    "direction": "vertical"
+  },
+  "left": {
+    "id": "f36eb2ab9a70ecd4",
+    "type": "split",
+    "children": [
+      {
+        "id": "71427306a60b1a91",
+        "type": "tabs",
+        "children": [
+          {
+            "id": "ba1668734da04ce1",
+            "type": "leaf",
+            "state": {
+              "type": "file-explorer",
+              "state": {
+                "sortOrder": "alphabetical",
+                "autoReveal": false
+              },
+              "icon": "lucide-folder-closed",
+              "title": "Files"
+            }
+          },
+          {
+            "id": "9eeaf97a52b415cc",
+            "type": "leaf",
+            "state": {
+              "type": "search",
+              "state": {
+                "query": "",
+                "matchingCase": false,
+                "explainSearch": false,
+                "collapseAll": false,
+                "extraContext": false,
+                "sortOrder": "alphabetical"
+              },
+              "icon": "lucide-search",
+              "title": "Search"
+            }
+          },
+          {
+            "id": "b01b2597730eab15",
+            "type": "leaf",
+            "state": {
+              "type": "bookmarks",
+              "state": {},
+              "icon": "lucide-bookmark",
+              "title": "Bookmarks"
+            }
+          }
+        ]
+      }
+    ],
+    "direction": "horizontal",
+    "width": 290.5
+  },
+  "right": {
+    "id": "58b6bd051c3a661b",
+    "type": "split",
+    "children": [
+      {
+        "id": "2e802a961079eb53",
+        "type": "tabs",
+        "children": [
+          {
+            "id": "88f83e53f2b19461",
+            "type": "leaf",
+            "state": {
+              "type": "backlink",
+              "state": {
+                "file": "server/熟悉项目笔记/表帐户信息与关系.md",
+                "collapseAll": false,
+                "extraContext": false,
+                "sortOrder": "alphabetical",
+                "showSearch": false,
+                "searchQuery": "",
+                "backlinkCollapsed": false,
+                "unlinkedCollapsed": true
+              },
+              "icon": "links-coming-in",
+              "title": "Backlinks for 表帐户信息与关系"
+            }
+          },
+          {
+            "id": "20de03039b0ab569",
+            "type": "leaf",
+            "state": {
+              "type": "outgoing-link",
+              "state": {
+                "file": "server/熟悉项目笔记/表帐户信息与关系.md",
+                "linksCollapsed": false,
+                "unlinkedCollapsed": true
+              },
+              "icon": "links-going-out",
+              "title": "Outgoing links from 表帐户信息与关系"
+            }
+          },
+          {
+            "id": "0c05dcb6aba8ecc6",
+            "type": "leaf",
+            "state": {
+              "type": "tag",
+              "state": {
+                "sortOrder": "frequency",
+                "useHierarchy": true,
+                "showSearch": false,
+                "searchQuery": ""
+              },
+              "icon": "lucide-tags",
+              "title": "Tags"
+            }
+          },
+          {
+            "id": "55c42971e4ed0e4b",
+            "type": "leaf",
+            "state": {
+              "type": "outline",
+              "state": {
+                "file": "server/熟悉项目笔记/表帐户信息与关系.md",
+                "followCursor": false,
+                "showSearch": false,
+                "searchQuery": ""
+              },
+              "icon": "lucide-list",
+              "title": "Outline of 表帐户信息与关系"
+            }
+          }
+        ]
+      }
+    ],
+    "direction": "horizontal",
+    "width": 300,
+    "collapsed": true
+  },
+  "left-ribbon": {
+    "hiddenItems": {
+      "switcher:Open quick switcher": false,
+      "graph:Open graph view": false,
+      "canvas:Create new canvas": false,
+      "daily-notes:Open today's daily note": false,
+      "templates:Insert template": false,
+      "command-palette:Open command palette": false
+    }
+  },
+  "active": "b86223d1b3917fe9",
+  "lastOpenFiles": [
+    "front_end/npm安装教程.md",
+    "front_end/front_小程序.md",
+    "front_end/front_前端项目简介.md",
+    "server/熟悉项目笔记/表帐户信息与关系.md",
+    "server/熟悉项目笔记/熟悉前的必备知识.md",
+    "server/熟悉项目笔记/批发商应用功能与接口.md",
+    "server/熟悉项目笔记/README.md",
+    "server/熟悉项目笔记/注册花店接口.md",
+    "server/server_注册花店接口笔记.md",
+    "server/server_批发商接口笔记.md",
+    "server/熟悉项目笔记",
+    "Home.md",
+    "server/server_项目代码架构.md",
+    "server/crond.md",
+    "server/帐号配置数据.md",
+    "app 上架/上架记录.md"
+  ]
+}

+ 10 - 10
Home.md

@@ -1,11 +1,11 @@
-欢迎使用 Wiki!
-
-### 后端
-- [项目代码架构](server/server_项目代码架构.md)
-- [批发商接口请求笔记](server/server_批发商接口笔记.md)
-- [花店接口笔记](server/server_注册花店接口笔记.md)
-
-
-### 前端
-- [前端项目简介](front_end/front_前端项目简介.md)
+欢迎使用 Wiki!
+
+### 后端
+- [项目代码架构](server/server_项目代码架构.md)
+- [批发商接口请求笔记](server/server_批发商接口笔记.md)
+- [花店接口笔记](server/server_注册花店接口笔记.md)
+
+
+### 前端
+- [前端项目简介](front_end/front_前端项目简介.md)
 - [小程序](front_end/front_小程序.md)

+ 40 - 2
app 上架/上架记录.md

@@ -6,7 +6,7 @@
 注册页面: https://id1.cloud.huawei.com/CAS/portal/userRegister/regbyemail.html  
 
 注册帐号:  
-zhhinc@126.com
+zhhinc@126.com  
 huahei.Zhh.2022
 
 华为(开发者)管理中心  
@@ -36,4 +36,42 @@ http://open.oppomobile.com
 vivo.Zhh.2022
 
 签名sign:  
-c20cc4cb853721d4e4675ef1d549f977
+c20cc4cb853721d4e4675ef1d549f977
+
+官网  
+https://www.wixhb.com
+
+隐私政策  
+http://www.wixhb.com/main/xhb-privacy
+
+
+
+
+Guideline 2.1 - Information Needed
+
+
+We have started our review, but we need additional information to continue. Specifically, it appears your app may access or include paid digital content or services, and we want to understand your business model before completing our review. 
+
+Next Steps
+
+Please review the following questions and provide as much detailed information about your business model as you can.
+
+1. Who are the users that will use the paid subscriptions in the app?
+我们的 app 暂时并没有收费项目(或订阅服务)。那个继费页面,是我们开发没删除掉,现已把它去除。
+
+2.Do the subscriptions include digital services delivered within the app?
+我们 app 暂时没有订阅,不存在收费项目。
+
+3. Where can users purchase the subscriptions that can be accessed in the app?Which payment method will be used?
+我们 app 暂时不存在收费项目,所以没有这样的入口。
+
+4. What specific types of previously purchased subscriptions can a user access in the app?
+我们 app 暂时不存在收费项目,所以没有订阅。
+
+5. What paid content, subscriptions, or features are unlocked within your app that do not use in-app purchase?
+没有需要额外付费才解锁的内容,全部功能都是免费。
+
+6. How do users obtain an account? Do users have to pay a fee to create an account?
+帐号是免费创建的,暂时不收取费用。
+
+

+ 74 - 0
front_end/npm安装教程.md

@@ -0,0 +1,74 @@
+# npm 安装教程
+
+### 安装方式
+安装node v12.16.1,只能安装这个版本,因为要和package.json里的sass版本一致:
+https://nodejs.org/zh-cn
+这里找到历史版本:
+https://nodejs.org/zh-cn/download/releases
+
+### 安装cnpm
+npm install -g cnpm --registry=https://registry.npm.taobao.org
+
+安装vue脚手架和uni-app需要的支持:
+cnpm install -g @vue/cli
+cnpm install
+
+
+### 运行方式
+
+H5
+npm run dev:h5
+npm run build:h5
+
+小程序
+npm run dev:mp-weixin
+npm run build:mp-weixin
+
+PC端
+npm run serve
+npm run build
+
+
+
+### https 转为 http
+把https 改变 http,好在本地部署
+
+ghsApp/src/config.js
+```
+export const ProjectName = 'ghs'
+export const APIHOST = 'http://api.shop.hzghd.com' //https 改为 http
+export const IMGHOST = 'https://img.hzghd.com'
+export const CURRENT_ENV = 'dev'
+```
+
+ghsApp/src/ext.json
+```
+{
+	"extEnable": true,
+	"extAppid": "wx21b7c3ef12082099",
+	"directCommit": false,
+	"ext": {
+		"account": 12362,
+		"apiHost": "http://api.shop.hzghd.com", //https 改为 http
+		"socketApiHost": "api.shop.hzghd.com",
+		"imgHost": "https://img.hzghd.com",
+		"name":"花掌柜"
+	}
+}
+```
+
+### 项目里
+$service 对应文件 front-end/pt/src/cool/request/index.js
+
+
+### 我的执行,会报错,要加上的的命令
+nvm use 12.16.1
+npm install -g @vue/cli
+npm install
+
+npm install @dcloudio/uni-mp-weixin
+或把 package.json的做修改:
+"@dcloudio/uni-mp-weixin": "^2.0.0-25120200103006", ==》"@dcloudio/uni-mp-weixin": "^2.0.1-34720220422002",
+
+
+

+ 34 - 0
server/crond.md

@@ -0,0 +1,34 @@
+# 计划任务
+
+#workman监听
+#*/1 * * * * sh /root/new_monitor_shell/ws_monitor.sh >> /dev/null 2>&1
+
+#采购单自动标记为欠款订单
+#*/1 * * * * /usr/local/nginx/html/huahuibao/yii purchase/set-debt-order
+
+#采购单到期脚本
+*/1 * * * * /usr/local/nginx/html/huahuibao/yii purchase/expire-order
+
+#优惠券过期脚本
+#*/1 * * * * /usr/local/nginx/html/huahuibao/yii shop-coupon/expire
+
+#多个计划任务集合点
+*/1 * * * * /usr/local/nginx/html/huahuibao/yii global/run
+
+#mysql全量备份 3天 3点跑一次
+0 3 */3 * * sh /home/sh/databak.sh
+
+#mysql增量备份 1天 3点跑一次
+0 3 */1 * * sh /home/sh/binlogbak.sh
+
+#订单自动完成脚本
+#*/20 * * * * /usr/local/nginx/html/huahuibao/yii order/auto-finish
+
+#欠款单脚本跟踪
+* */5 * * * /usr/local/nginx/html/huahuibao/yii custom/adjust-debt >> /dev/null 2>&1
+
+#花店订单到期脚本
+*/1 * * * * /usr/local/nginx/html/huahuibao/yii order/expire
+
+#批发商批量创建花店客户
+*/1 * * * * /usr/local/nginx/html/huahuibao/yii custom/create-customer

+ 1 - 1
server/server_批发商接口笔记.md

@@ -4,7 +4,7 @@
 
 > 批发商注册视频教程见:批发商 --> 使用手册 --> 如何申请
 
-打开 App 或 微信小程序 ,点出"我的"-->点击"登录/注册"-->点击"注册帐号"
+打开 App 或 销花宝微信小程序 ,点出"我的"-->点击"登录/注册"-->点击"注册帐号"
 
 点出"我的"
 * https://api.shop.hzghd.com/main/my

+ 14 - 1
server/server_注册花店接口笔记.md

@@ -12,12 +12,25 @@
     
 打开微信,搜索"花美玲",进入小程序 --> 我的 --> 点击 登录/注册 --> 注册帐号
 
-如果你已经注册,想要删除帐号重新注册,则使用[管理平台](https://pt.hzghd.com) 删除   
+#### 已经注册,想重走注册流程
+如果你已经注册,想要删除帐号重新注册,则使用[管理平台](https://pt.hzghd.com) 删除
 测试平台帐号:15280215347    密码:123456  
 ![](images/删除花店帐号.png)
 
 根据你的 ID 号来删除,接着就可以重新注册帐号。
 
+或使用以下sql语句:
+```sql
+# 清除账号
+DELETE FROM xhAdmin WHERE mobile='';
+DELETE FROM xhStaff WHERE mobile='';
+DELETE FROM xhApply WHERE mobile='';
+DELETE FROM xhShop WHERE mobile='';
+DELETE FROM xhGhsCustom WHERE mobile='';
+DELETE FROM xhGhs WHERE mobile='';
+```
+
+
 ### 接口请求
 下面是开店操作中出现的接口请求,测试环境对应的域名:https://api.shop.huaml.com
 

+ 7 - 7
server/server_项目代码架构.md

@@ -1,16 +1,16 @@
 # 项目代码架构
 
 ## 目录
-* app-ghs   供货商(批发商),ghs 是供货商的拼音首字母
-* app-hd    零售,hd 是花店的拼音首字母
-* app-mall  商城,mall 购物中心
-* app-pt    平台,pt 是平台的拼音字母
-* biz       公共业务层
+* app-ghs   供货商(批发商),ghs 指供货商的中文拼音首字母
+* app-hd    零售,hd 指花店的中文拼音首字母缩写
+* app-mall  商城,mall 英文单词,购物中心
+* app-pt    平台,pt 指平台的中文拼音首字母编写
+* biz           公共业务层
 * biz-ghs   供货商业务层
-* biz-hd    花店业务层
+* biz-hd     花店业务层
 * biz-mall  商城业务层
 * common    配置文件或组件或util
-* console   命令控制   
+* console      命令控制   
 * doc
 
 

+ 12 - 0
server/帐号配置数据.md

@@ -0,0 +1,12 @@
+### 配置
+
+小票机
+520543315
+daxht6jf
+
+标签机
+570202021
+nm6tczaf
+
+云喇叭
+5022107180012

+ 5 - 0
server/熟悉项目笔记/README.md

@@ -0,0 +1,5 @@
+本目录记录熟悉==销花宝==项目的点点滴滴
+
+## 目录
+
+- 表帐户信息与关系

+ 71 - 0
server/熟悉项目笔记/批发商应用功能与接口.md

@@ -0,0 +1,71 @@
+# 批发商接口请求 
+
+### 注册批发帐号
+
+> 批发商注册视频教程见:批发商 --> 使用手册 --> 如何申请
+
+打开 App 或 销花宝微信小程序 ,点出"我的"-->点击"登录/注册"-->点击"注册帐号"
+
+点出"我的"
+* https://api.shop.hzghd.com/main/my
+
+点击"注册帐号"
+* https://api.shop.hzghd.com/region/tree
+
+所在地址输入内容,触发的请求
+* https://api.shop.hzghd.com/map/suggestion?region=%E8%8E%86%E7%94%B0%E5%B8%82&keyword=%E9%9B%86%E7%BE%8E%E5%87%A4%E6%9E%97
+
+验证码发送
+* https://api.shop.hzghd.com/apply/get-auth-code?mobile=18259179840
+
+提交申请
+* https://api.shop.hzghd.com/apply/register
+
+到这,成功注册批发商帐号
+
+
+### 添加零售花店客户
+我们已经注册好了批发商,那么如何让零售花店客户跟批发商关联起来呢(或者说让零售花店客户找到批发商)?
+有教程,见:
+* 测试环境:打开花掌柜 --> 使用手册 --> 添加客户
+* 正式环境:打开销花宝 --> 使用手册 --> 添加客户
+
+教程中,点击"商城",产生的接口请求:
+* /main/get-mall-poster
+* /wx-open/get-mini-info
+
+其它功能:查看客户信息、等级设置、拉黑等,点击 "客户"-->点击某个客户,进入"客户详情"里设置
+
+### 花材
+批发商添加花材视频教程见:批发商 --> 使用手册 --> 如何申请
+
+#### 花材上架
+上一步中,我们介绍了如何添加零售花店客户,但是我们批发商的商品都还没去设置,所以当客户进入到批发商品页面时,会发现只有分类,没有商品及图片,这是因为花材默认是没有库存的。给某个花材设置上库存数量,后继客户就能看到对应花材。我们暂时把这操作叫做花材上架。  
+
+#### 从平台添加(导入)花材
+批发商一注册成功,他的批发商店默认被导入各种花材。由于花材种类后继还会增加,暂时系统没有实现自动导入新增花材;当批发商寻找某花材,发现其没有导入,需要手动导入下,并设置好库存等信息(才能被零售客户看到并下单)。 
+
+
+#### 批发商新建花材
+当批发商发现导入花材页面里某个花材搜索不到时,可以自己新建花材,详细见视频教程。
+
+#### 花材分类、花材排序
+//TODO
+
+#### 花材可以优化的点
+1. 从平台导入展示了"已导入花材",从平台导入页应该只展示未导入的花材
+2. 加强划分"导入花材"与"新建花材"概念
+
+#### 相关接口
+* /product/ghs-item?id=376&shopId=36420
+* /item-class/all 所有分类
+* /product/detail?id=13744 获取花材
+* /product/update 更新花材
+* /unit/get-all-unit 花材单位
+* /pt-item/list?page=1&type=waring&shopId=36420&status=0&delStatus=0 平台花材分页列表
+
+
+
+
+
+

+ 63 - 0
server/熟悉项目笔记/注册花店接口.md

@@ -0,0 +1,63 @@
+# 花店接口笔记
+
+### 背景
+走使用流程,记录请求接口,熟悉与功能相关接口
+
+### 开店(注册)
+
+* 测试环境的小程序(或 App)  
+    * ~~批发: 花掌柜 -- 开批发店,找销花宝~~
+    * 零售(花店): 花美玲 -- 开零售店,找花惠宝
+    * ~~零售(花店)的商城:中花卉 -- 客户买花,使用(找)花卉宝~~
+    
+打开微信,搜索"花美玲",进入小程序 --> 我的 --> 点击 登录/注册 --> 注册帐号
+
+#### 已经注册,想重走注册流程
+如果你已经注册,想要删除帐号重新注册,则使用[管理平台](https://pt.hzghd.com) 删除
+测试平台帐号:15280215347    密码:123456  
+![](images/删除花店帐号.png)
+
+根据你的 ID 号来删除,接着就可以重新注册帐号。
+
+或使用以下sql语句:
+```sql
+# 清除账号
+DELETE FROM xhAdmin WHERE mobile='';
+DELETE FROM xhStaff WHERE mobile='';
+DELETE FROM xhApply WHERE mobile='';
+DELETE FROM xhShop WHERE mobile='';
+DELETE FROM xhGhsCustom WHERE mobile='';
+DELETE FROM xhGhs WHERE mobile='';
+```
+
+
+### 接口请求
+下面是开店操作中出现的接口请求,测试环境对应的域名:https://api.shop.huaml.com
+
+进入"店铺"
+* /wx-open/get-mini-info
+* /console/profile?isMini=1  
+
+进入"我的"
+* /main/my  
+
+点击"登录/注册"
+* /admin/has-token-auto-login  
+
+点击"注册帐号"
+* /region/tree
+* /admin/has-token-auto-login 
+* /merchant/introduce-shop  
+
+所在地址输入内容时,监听触发的地址自动搜索请求
+* /map/suggestion?region=%E5%8E%A6%E9%97%A8%E5%B8%82&keyword=%E9%9B%86  
+
+验证码
+* /apply/get-auth-code?mobile=18259179840  
+
+注册成功,请求了
+* https://api.shop.huaml.com/apply/get-auth-code?mobile=18259179840
+* https://api.shop.huaml.com/apply/register
+* https://api.shop.huaml.com/console/init?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsImp0aSI6IjBfODUyIn0.eyJpc3MiOiJodHRwczpcL1wvYXBpLnNob3AuaHVhbWwuY29tIiwiYXVkIjoiaHR0cHM6XC9cL2FwaS5zaG9wLmh1YW1sLmNvbSIsImp0aSI6IjBfODUyIiwiaWF0IjoxNjQ3Njg4NDA1LCJuYmYiOjE2NDc2ODg0MDUsImV4cCI6MTY1NjMyODQwNSwidW5pcXVlSWQiOjg1Miwic291cmNlSWQiOjB9.K8IthdCQWAfojsXJc0YBHydEskCUM9SY6HMCha6kEpQ
+* https://api.shop.huaml.com/merchant/detail
+* https://api.shop.huaml.com/shop/all

+ 21 - 0
server/熟悉项目笔记/熟悉前的必备知识.md

@@ -0,0 +1,21 @@
+# 自行理解表与表字段前的必要知识点
+
+### xhAdmin、xhGhs、xhMain、xhShop
+以下动作是整个系统的开始
+
+批发商注册时
+- 在 xhAdmin 表创建一条数据
+
+- 在 xhMain 表创建一条数据
+	
+- 在 xhShop 表创建两条数据,区分如下
+
+| id  | ptStyle | mainId | sjId |
+| --- | ------- | ------ | ---- |
+| 100 | 1       |        |      |
+| 101 | 2       |        |      |
+ptStyle: 所属平台,1花店;2供货商;请查看dict.php
+
+> 注意:零售店注册同上
+
+

+ 53 - 0
server/熟悉项目笔记/表帐户信息与关系.md

@@ -0,0 +1,53 @@
+# 表帐户信息与关系(研究表关系)
+
+### xhMain
+归我帐户下的有
+
+| id  |     |     |
+| --- | --- | --- |
+| 661 |     |     |
+| 770 |     |     |
+### xhAdmin
+我的相关 admin 帐号
+
+| id  | mobile      | name        | 备注    | currentShopId | currentGhsShopId | shopAdminId |
+| --- | ----------- | ----------- | ----- | ------------- | ---------------- | ----------- |
+| 927 | 18259179841 | 18259179841 |       |               |                  |             |
+| 929 | 18150117057 | 18150117057 |       |               |                  |             |
+| 930 | 18259179849 | 18259179849 |       |               |                  |             |
+| 932 | 18259179840 | 小仙仔         | 我的手机号 | 36548         | 36547            | 126231      |
+| 934 | 18150117056 | 迷你采         |       |               |                  |             |
+###### xhAdmin 关键字段
+
+| 字段名              | 注释          | 备注  |
+| ---------------- | ----------- | --- |
+| currentShopId    | 零售-当前管理的门店  |     |
+| currentGhsShopId | 供应商-当前管理的门店 |     |
+|                  |             |     |
+
+### xhShop
+| id    | ptStyle       | merchantName | pfLevel            | pfShopId         |
+| ----- | ------------- | ------------ | ------------------ | ---------------- |
+| 字段解释  | 所属平台 1花店 2供货商 | 商家名称         | 批发等级 0城市批发商 1昆明批发商 | 零售店关联的批发店        |
+| 36547 | 2             | 花仙子          |                    | ? 0 表示未关联,即为:批发店 |
+| 36548 | 1             | 花仙子          |                    |                  |
+### xhSj
+
+| id    |     |     |     |
+| ----- | --- | --- | --- |
+| 12986 |     |     |     |
+|       |     |     |     |
+### xhUser
+| id  |     |     |     |
+| --- | --- | --- | --- |
+| 151 |     |     |     |
+|     |     |     |     |
+  
+### xhStaff
+员工表
+
+- 一个员工的第一种情况
+	只有 xhAdmin 
+	
+- 一个员工的第二种情况
+	不仅有xhAdmin  ,还有 xhShop