Commit d154a875 by yangxianglong

自采联营门店系统开发

parent a04c5989
......@@ -46,8 +46,8 @@ mvn spring-boot:run
| 方法 | 路径 | 说明 |
|------|------|------|
| GET | `/item/sync` | 与定时任务同类:按上次成功结束时间增量,**多页**拉取后同步汉尼;请求乐檬时默认 `filter_sleep``filter_weed_out``true` |
| GET | `/item/sync/manual` | 手动同步;查询参数与乐檬 `item.find` 对齐,多页拉到底;`filterSleep`/`filterWeedOut` **未传时默认为 true** |
| GET | `/item/sync` | **异步**:立即返回 **syncLogId**;后台按上次成功时间增量、多页拉取并同步;列表轮询 `RUNNING` + `progressMessage` 看进度 |
| GET | `/item/sync/manual` | 同上(手动参数),返回 **syncLogId**`filterSleep`/`filterWeedOut` 未传时默认 `true` |
| GET | `/item/lemon` | 只查乐檬**当前页** JSON,**不同步**;过滤参数默认同上 |
| GET | `/item/sync-logs` | 同步日志分页,`status` 可选 |
| GET | `/item/sync-logs/{logId}/details` | 某次任务商品明细分页(ADD/UPDATE/SKIP 等) |
......@@ -59,6 +59,7 @@ mvn spring-boot:run
| 方法 | 路径 | 说明 |
|------|------|------|
| GET | `/auth/code` | OAuth2 回调:用 `code` 换 Token,写入库并刷新内存 |
| GET | `/lemeng/token/status` | 当前 access 来源、JWT 是否过期、是否存在 refresh(**不返回密钥**) |
| POST | `/lemeng/token/set` | 手工写入 `access_token` / `refresh_token`(按账套),**落库 + 内存** |
| POST | `/lemeng/token/refresh` | `grant_type=refresh_token`,成功后备份到库与内存 |
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment