refactor: 重构API接口响应格式,带来简洁高效的接口设计

This commit is contained in:
xiaoxian521
2025-12-17 11:03:45 +08:00
parent 30459741d4
commit c31f9245ed
3 changed files with 12 additions and 8 deletions

View File

@@ -6,7 +6,8 @@ export default defineFakeRoute([
method: "post",
response: () => {
return {
success: true,
code: 0,
message: "操作成功",
data: {
list: [
{