update 优化 更改客户端状态接口 使用clientId传参
This commit is contained in:
@ -64,12 +64,12 @@ export const delClient = (id: string | number | Array<string | number>) => {
|
||||
|
||||
/**
|
||||
* 状态修改
|
||||
* @param id ID
|
||||
* @param clientId 客户端id
|
||||
* @param status 状态
|
||||
*/
|
||||
export function changeStatus(id: number | string, status: string) {
|
||||
export function changeStatus(clientId: string, status: string) {
|
||||
const data = {
|
||||
id,
|
||||
clientId,
|
||||
status
|
||||
};
|
||||
return request({
|
||||
|
@ -7,7 +7,7 @@ export interface ClientVO {
|
||||
/**
|
||||
* 客户端id
|
||||
*/
|
||||
clientId: string | number;
|
||||
clientId: string;
|
||||
|
||||
/**
|
||||
* 客户端key
|
||||
|
Reference in New Issue
Block a user