
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@ccs-ui/float-button
Advanced tools
export default defineConfig({
ccsOpenApi: [
{
projectName: 'default',
serversPath: './src/service',
schemaPath: 'http://136.25.60.144:30472/api/service-sysmgr/v3/api-docs',
authorization: `Basic bWljcm86QE1pY3JvLC4xMjM=`,
namespace: 'API',
commonIntfs: ['Result<T>', 'PageRsp<T>', 'PageReq<T>', 'OrderProp'],
requestImportStatement: `import { request } from '@/utils/http'`,
},
{
projectName: 'easy-im',
serversPath: './src/service',
schemaPath: 'http://136.25.60.143:30314/easy/easy-im/v3/api-docs',
authorization: `Basic bWljcm86QE1pY3JvLC4xMjM=`,
namespace: 'APIM',
commonIntfs: ['Result<T>', 'PageRsp<T>', 'PageReq<T>', 'OrderProp'],
requestImportStatement: `import { request } from '@/utils/http'`,
},
],
});
import { request } from '@/utils/http';
/** 清空所有缓存 */
export async function clearAllCachesUsingGet() {
return request<API.Result<void>>(
'/easy-im/access/CacheController/clearAllCaches',
{
method: 'GET',
},
);
}
/** 清空所有组织缓存 */
export async function clearAllOrgsCacheUsingGet() {
return request<API.Result<void>>(
'/easy-im/access/CacheController/clearAllOrgsCache',
{
method: 'GET',
},
);
}
declare namespace API {
type Result<T> = {
/** 错误编码 */
code?: string;
/** 业务数据 */
data?: T;
/** 错误信息 */
msg?: string;
/** 业务调用是否成功 */
success?: boolean;
};
}
FAQs
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.