feat(store): 添加门店、门店验证

This commit is contained in:
R524809
2026-09-04 10:27:29 +08:00
parent 66ca8b496c
commit 70d9d5b92a
19 changed files with 602 additions and 26 deletions
+26
View File
@@ -0,0 +1,26 @@
## 在Cursor中连接数据库
可以。为这次手工维护 Ozon 币种,请在 SQLTools 用迁移专用账号连接:
| 字段 | 填写内容 |
|---|---|
| Connection name | `Atlas Local - Migrator` |
| Connection group | 可留空,或填 `Local` |
| Connect using | `Server and Port` |
| Server Address | `localhost` |
| Port | 根目录 `.env` 的 `POSTGRES_PORT`(通常是 `5432`) |
| Database | 根目录 `.env` 的 `POSTGRES_DB`(通常是 `atlas`) |
| Username | `atlas_migrator` |
| Use password | 选择 SQLTools Driver Credentials,并填根目录 `.env` 的 `ATLAS_MIGRATOR_PASSWORD` 值 |
不要使用 `atlas_app_login`:它给 API/Worker 用,权限不足以执行迁移或平台配置维护。
连上后,先执行:
```sql
SELECT code, name, capabilities
FROM atlas.platforms
WHERE code = 'OZON';
```
确认能读到 Ozon 后,再执行我前一条消息提供的事务 SQL。密码不要贴到聊天里。