refactor(api): 重命名示例 API 文件并简化代码

- 将 api/example.js 重命名为 api/addClient.js
- 删除多余的空行和注释
This commit is contained in:
aixianling
2025-02-25 17:53:36 +08:00
parent 448acfc26a
commit 628a6fee80

8
api/addClient.js Normal file
View File

@@ -0,0 +1,8 @@
module.exports = (ctx) => {
ctx.body = {
message: 'Example POST API',
data: ctx.request.body
};
};