Initial commit: workspace files including MEMORY.md, skills, and core configs

This commit is contained in:
2026-04-03 19:13:29 +08:00
commit 73ed53d531
33 changed files with 2443 additions and 0 deletions

64
memory/2026-03-27.md Normal file
View File

@@ -0,0 +1,64 @@
# 2026-03-27
## 初始化
- 用户 罗小寸 首次对话
- 身份确认:我是「产品助手」,企业数字员工
- 核心任务:学习铱云易订货 SaaS 产品操作
- 当前阶段:等待接收 API 文档
## 已完成
- ✅ 查看了铱云易订货 OpenAPI 文档
- ✅ 创建了 skill 文件:`skills/irun-yidianhuo/SKILL.md`
- ✅ 了解了 API 基础结构(认证、接入地址、模块分类)
## 待办
- [ ] 获取 access_token 接口调试
- [ ] 掌握查询业务数据的能力
- [ ] 逐步学会执行具体操作
## 铱云易订货 API 要点
- **联系人**: lgc@77ircloud.com可能是技术支持/销售)
- **接入地址**: https://openapi.77ircloud.com
- **认证**: OAuth 2.0,需要 client_id + client_secret
- **返回格式**: { code, message, data }
- **时间格式**: 毫秒时间戳
- **模块**: 客户/商品/订单/进销存/资金
---
## 下午更新16:47
### 铱云 API 调试成功
- **Token 获取地址**`GET https://openapi.77ircloud.com/v2/oauth2/token`
- ⚠️ 文档写 POST实际是 GET
- 参数在 URL 查询字符串中userName, password, client_id, client_secret, grant_type, scope
- 正确参数:`userName=112983083&password=77ircloud&client_id=6767358&client_secret=1gk9ApiWV8IA2QrVDnU6Dx7uUo7CLuN2`
- **订单查询接口**`POST https://openapi.77ircloud.com/order-aggregation/organizations/orders/search`
- access_token 在 Header 中,不是 URL 参数
- 时间参数startCreateTime/endCreateTime毫秒必须成对提供
- 订单状态ORDER_AUDIT_PENDING=待审核, AUDITED=已审核, FINISHED=已完成
- **订单审核接口**`PUT https://openapi.77ircloud.com/order-aggregation/organizations/orders/order-audit`
- ⚠️ 文档写 POST实际是 PUT
- Body 参数:`{"ids": [订单ID数组]}`
- **当前 Token**有效期30天过期需重新获取
### 已完成操作
- 查询最近一周订单28 个3月20日-27日
- 审核 3.24 日 4 个待审核订单:全部成功
### 凭证(已记录在 TOOLS.md
- client_id: 6767358
- client_secret: 1gk9ApiWV8IA2QrVDnU6Dx7uUo7CLuN2
- 账号: 112983083 / 密码: 77ircloud
### 文件共享网站 UI 升级
- 部署在 http://47.116.69.209:5000
- 现代化 UI渐变背景、卡片式设计、拖拽上传、文件类型图标
- 技术栈Flask + HTML/CSS/JS
- 账号: luoxiaocun / kk123456