Initial commit: workspace files including MEMORY.md, skills, and core configs
This commit is contained in:
33
memory/2026-04-01.md
Normal file
33
memory/2026-04-01.md
Normal file
@@ -0,0 +1,33 @@
|
||||
|
||||
---
|
||||
|
||||
## 每日学习总结(heartbeat 凌晨自动执行)
|
||||
|
||||
### 今日关键教训
|
||||
|
||||
1. **库存必须累加所有可用仓库**(教训深刻)
|
||||
- 审核订单时,误用总部仓库库存判断,导致正常订单被跳过
|
||||
- 正确方式:先 GET /invoicing-aggregation/warehouses 获取所有 status=1 的仓库,分别查库存并累加 availableAmount
|
||||
|
||||
2. **易订货下单必填字段**
|
||||
- deliveryMethodId=1(到店自提),不能用 deliveryType
|
||||
- saleRate=100.0(不是1.0)
|
||||
- 客户 status=0 表示停用,无法下单
|
||||
|
||||
3. **商品搜索接口认证**
|
||||
- openapi.77ircloud.com 和 suite.77ircloud.com 是两套认证体系
|
||||
- suite 用 accounts.77ircloud.com 登录获取 jwt,authorization 请求头无 Bearer 前缀
|
||||
|
||||
### 新学会的技能
|
||||
|
||||
1. **Playwright + Chrome headless**
|
||||
- 服务器已有 Google Chrome 146
|
||||
- 用 Playwright 可控制浏览器完成自动化操作
|
||||
- 截图片用 message media 发送,飞书原生图片显示
|
||||
|
||||
2. **易订货客户预警分析**
|
||||
- 页面:https://suite.77ircloud.com/#/waring/customers
|
||||
- 发现主要问题:订货额低(387家)、流失(354家)、欠款(107家逾期)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user