max преди 2 месеца
родител
ревизия
8e8193ba4e

+ 10 - 6
接口文档/.obsidian/workspace.json

@@ -13,12 +13,12 @@
             "state": {
               "type": "markdown",
               "state": {
-                "file": "渠道对接/sunpay/基础信息.md",
+                "file": "基础信息/服务器相关/运维日志/2025-05-25.md",
                 "mode": "source",
                 "source": true
               },
               "icon": "lucide-file",
-              "title": "基础信息"
+              "title": "2025-05-25"
             }
           }
         ]
@@ -170,12 +170,17 @@
   },
   "active": "33d20799515c3264",
   "lastOpenFiles": [
+    "基础信息/服务器相关/运维日志/attachments/Pasted image 20250525131614.png",
+    "基础信息/服务器相关/运维日志/attachments/Pasted image 20250525131442.png",
+    "基础信息/服务器相关/运维日志/20250517.md",
+    "基础信息/服务器相关/运维手册.md",
+    "基础信息/服务器相关/运维日志/2025-05-25.md",
+    "2025-05-22.md",
+    "2025-05-15.md",
     "渠道对接/sunpay/全球支付服务 - 出金操作对接问题清单.md",
-    "渠道对接/sunpay/基础信息.md",
     "渠道对接/sunpay/全球支付服务 - 出金操作总览 对接问题 1.md",
     "渠道对接/sunpay/现状.md",
-    "基础信息/服务器相关/运维手册.md",
-    "基础信息/服务器相关/运维日志/20250517.md",
+    "渠道对接/sunpay/基础信息.md",
     "基础信息/服务器相关/运维日志/attachments/Pasted image 20250517133251.png",
     "工作日常/2025-05-11.md",
     "基础信息/服务器相关/运维日志/z_money_2025-05-15_09-30-03_mysql_data.sql.gz",
@@ -190,7 +195,6 @@
     "基础信息/服务器相关/attachments/Pasted image 20250515091347.png",
     "基础信息/服务器相关/运维日志/attachments/Pasted image 20250517105153.png",
     "基础信息/服务器相关/运维日志/attachments",
-    "2025-05-15.md",
     "渠道对接/clearjunction/接口调用.md",
     "基础信息/服务器相关/attachments/Pasted image 20250514163944.png",
     "渠道对接/easypay/开放接口文档.md",

+ 1 - 0
接口文档/2025-05-22.md

@@ -0,0 +1 @@
+test

+ 85 - 0
接口文档/基础信息/服务器相关/运维日志/2025-05-25.md

@@ -0,0 +1,85 @@
+## 数据库更新
+
+切换 root 账户权限
+```bsh
+sudo su
+```
+
+进入mysql 数据库容器中
+```
+docker exec -it fe8fde9961b2 /bin/bash
+```
+
+使用 va_sandbox 账户登陆mysql
+```bash
+mysql -u va_sandbox -p
+# 输入密码
+```
+
+ 使用 va 账户登陆mysql
+```bash
+mysql -u va -p
+# 输入密码
+```
+
+ 切换 va_sandbox 数据库,输入下面的语句
+
+
+```sql
+create table open_file  
+(  
+    id           int auto_increment comment 'ID'  
+        primary key,  
+    createTime   datetime(6)  default CURRENT_TIMESTAMP(6) not null comment '创建时间',  
+    updateTime   datetime(6)  default CURRENT_TIMESTAMP(6) not null on update CURRENT_TIMESTAMP(6) comment '更新时间',  
+    mch_id       varchar(100) default ''                   not null comment '商户编号',  
+    account_id   varchar(100) default ''                   not null comment '用户编号',  
+    source       varchar(100) default ''                   not null comment '客户来源',  
+    sourceFile   varchar(255) default ''                   not null comment '文件来源',  
+    fileType     varchar(255) default ''                   not null comment '文件类型',  
+    fileName     varchar(255) default ''                   not null comment '文件名称',  
+    filePath     varchar(255) default ''                   not null comment '文件路径',  
+    url          varchar(255) default ''                   not null comment '文件url',  
+    ossPath      varchar(255) default ''                   not null comment '文件oss路径',  
+    originalName varchar(255) default ''                   not null comment '文件名称',  
+    size         varchar(255) default ''                   not null comment '文件大小'  
+);  
+  
+create index IDX_4ce829fded6caa3b65919f0d21  
+    on open_file (createTime);  
+  
+create index IDX_7b4ea3dedca55743323448a0dd  
+    on open_file (updateTime);
+```
+
+```sql
+create table open_order_approve  
+(  
+    id         int auto_increment comment 'ID'  
+        primary key,  
+    createTime datetime(6)  default CURRENT_TIMESTAMP(6) not null comment '创建时间',  
+    updateTime datetime(6)  default CURRENT_TIMESTAMP(6) not null on update CURRENT_TIMESTAMP(6) comment '更新时间',  
+    mch_id     varchar(255) default ''                   not null comment '商户编号',  
+    account_id varchar(255) default ''                   not null comment '用户编号',  
+    order_type varchar(100) default ''                   not null comment '订单类型',  
+    status     varchar(100) default ''                   not null comment '订单状态',  
+    order_info text                                      not null comment '订单信息',  
+    remark     varchar(255) default ''                   not null comment '备注'  
+);  
+  
+create index IDX_0ea51a0c9b59c9e93c0476d0fe  
+    on open_order_approve (updateTime);  
+  
+create index IDX_e377a410e77006e42c571356e0  
+    on open_order_approve (createTime);
+```
+
+## 配置菜单权限
+
+yarn start:sandbox
+
+商户权限配置
+![[Pasted image 20250525131442.png]]
+
+增加菜单
+![[Pasted image 20250525131614.png]]

BIN
接口文档/基础信息/服务器相关/运维日志/attachments/Pasted image 20250525131442.png


BIN
接口文档/基础信息/服务器相关/运维日志/attachments/Pasted image 20250525131614.png