12 lines
524 B
TypeScript
12 lines
524 B
TypeScript
|
|
import request from "./src/api/http.js";
|
||
|
|
import { type TrangleAgentApiUserV1SubscribeUpdateRes, type DeepRequired, type TrangleAgentApiUserV1SubscribeUpdateReq } from "../../interface";
|
||
|
|
import { type AxiosRequestConfig } from "axios";
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 更新关注
|
||
|
|
* /api/subscribe/update
|
||
|
|
*/
|
||
|
|
export function putApiSubscribeUpdate(input?: TrangleAgentApiUserV1SubscribeUpdateReq, config?: AxiosRequestConfig) {
|
||
|
|
return request.put<DeepRequired<TrangleAgentApiUserV1SubscribeUpdateRes>>(`/api/subscribe/update`, input, config);
|
||
|
|
}
|