From bccdb8f81c07c8a9cdcd6838173dfd1c73c98d90 Mon Sep 17 00:00:00 2001
From: zhou zhou <3272660260@qq.com>
Date: 星期四, 26 二月 2026 16:05:30 +0800
Subject: [PATCH] #
---
.agents/skills/wms-dev-standards/SKILL.md | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/.gemini/skills/wms-dev-standards/SKILL.md b/.agents/skills/wms-dev-standards/SKILL.md
similarity index 93%
rename from .gemini/skills/wms-dev-standards/SKILL.md
rename to .agents/skills/wms-dev-standards/SKILL.md
index 7be4f2c..ced4436 100644
--- a/.gemini/skills/wms-dev-standards/SKILL.md
+++ b/.agents/skills/wms-dev-standards/SKILL.md
@@ -12,10 +12,10 @@
When adding or modifying API requests, always follow the established pattern in `config/api.js`.
### Core Rules
-
1. **HTTP Client:** Always use `uni.$u.http` for requests.
2. **Export Format:** Export each API call as a named arrow function.
3. **GET Parameters:** When sending parameters in a `GET` request, they **must** be wrapped in a configuration object with a `params` key.
+4. **Response Destructuring:** Always destructure the response object to `{ code, data, msg }` (or similar fields) instead of using a generic `res` variable.
### Examples
--
Gitblit v1.9.1