add api signature

This commit is contained in:
landaiqing
2024-11-19 01:48:32 +08:00
parent 23331318de
commit 5a05e87f49
17 changed files with 81 additions and 147 deletions

View File

@@ -1,18 +0,0 @@
import {service} from "@/utils/alova/service.ts";
/**
* 生成客户端id
*/
export const generateClientId = () => {
return service.Get('/api/client/generate',
{
meta: {
ignoreToken: true,
},
cacheFor: {
mode: "restore",
expire: 1000 * 60 * 60 * 24
}
}
);
};