Skip to content

Commit

Permalink
refactor(team): 更新团队状态接口路径
Browse files Browse the repository at this point in the history
- 将 updateTeamStatus 函数的 API 路径从 '/v1/team/status' 修改为 '/v1/team/update/status'
- 此修改旨在优化 API 路径结构,提高接口的可读性和易维护性
  • Loading branch information
aide-cloud committed Dec 31, 2024
1 parent 830bd77 commit 524e044
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/team/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export function listTeam(params: ListTeamRequest): Promise<ListTeamReply> {
* @returns {UpdateTeamStatusReply}
*/
export function updateTeamStatus(params: UpdateTeamStatusRequest): Promise<null> {
return request.PUT<null>('/v1/team/status', params)
return request.PUT<null>('/v1/team/update/status', params)
}

/**
Expand Down

0 comments on commit 524e044

Please sign in to comment.