12 lines
365 B
TypeScript
12 lines
365 B
TypeScript
import path from "path";
|
|
import { fileURLToPath } from "url";
|
|
import client, { saveResponse } from "../client.js";
|
|
|
|
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
|
|
export async function getStatusCount() {
|
|
const response = await client.post("/DemandManage/QueryIndexCount", {});
|
|
saveResponse(__dirname, response.data);
|
|
return response.data;
|
|
}
|