mirror of
https://github.com/acepanel/panel.git
synced 2026-02-08 13:04:29 +08:00
feat: 跑分插件
This commit is contained in:
9
web/src/api/apps/benchmark/index.ts
Normal file
9
web/src/api/apps/benchmark/index.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import type { AxiosResponse } from 'axios'
|
||||
|
||||
import { request } from '@/utils'
|
||||
|
||||
export default {
|
||||
// 运行评分
|
||||
test: (name: string, multi: boolean): Promise<AxiosResponse<any>> =>
|
||||
request.post('/apps/benchmark/test', { name, multi })
|
||||
}
|
||||
Reference in New Issue
Block a user