Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
manulife-weapp
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
hookehuyr
2026-02-13 11:09:04 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c802d95aa1126780fb52fee3696ecd422b65a436
c802d95a
1 parent
66252bf4
fix(api): 修正删除接口参数值从delete改为del
更新API端点参数值以匹配后端接口规范,同时更新相关文档说明
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
docs/api-specs/plan/delete.md
src/api/news.js
src/api/plan.js
docs/api-specs/plan/delete.md
View file @
c802d95
...
...
@@ -34,7 +34,7 @@ paths:
in
:
query
description
:
'
'
required
:
false
example
:
del
ete
example
:
del
schema
:
type
:
string
-
name
:
i
...
...
src/api/news.js
View file @
c802d95
...
...
@@ -7,7 +7,7 @@ const Api = {
/**
* @description 消息详情
* @remark
* @remark
* @param {Object} params 请求参数
* @param {string} params.i 消息ID
* @returns {Promise<{
...
...
@@ -26,10 +26,10 @@ export const detailAPI = (params) => fn(fetch.get(Api.Detail, params));
/**
* @description 我的消息列表
* @remark
* @remark
* @param {Object} params 请求参数
* @param {string} params.page
* @param {string} params.limit
* @param {string} params.page
* @param {string} params.limit
* @returns {Promise<{
* code: number; // 状态码
* msg: string; // 消息
...
...
@@ -41,7 +41,7 @@ export const detailAPI = (params) => fn(fetch.get(Api.Detail, params));
status: string; // send=以发送未读取,read=已读取
pk_id: integer; // 计划书订单ID
}>;
total: integer; //
total: integer; //
* };
* }>}
*/
...
...
src/api/plan.js
View file @
c802d95
...
...
@@ -2,7 +2,7 @@ import { fn, fetch } from '@/api/fn';
const
Api
=
{
Add
:
'/srv/?a=proposal&t=add'
,
Delete
:
'/srv/?a=proposal&t=del
ete
'
,
Delete
:
'/srv/?a=proposal&t=del'
,
List
:
'/srv/?a=proposal&t=list'
,
View
:
'/srv/?a=proposal&t=view'
,
}
...
...
Please
register
or
login
to post a comment