mirror of
https://github.com/snltty/linker.git
synced 2025-11-03 10:01:05 +08:00
文档
This commit is contained in:
9
linker.web/src/apis/config.js
Normal file
9
linker.web/src/apis/config.js
Normal file
@@ -0,0 +1,9 @@
|
||||
import { sendWebsocketMsg } from './request'
|
||||
|
||||
export const getConfig = () => {
|
||||
return sendWebsocketMsg('configclient/get');
|
||||
}
|
||||
|
||||
export const install = (data) => {
|
||||
return sendWebsocketMsg('configclient/install', data);
|
||||
}
|
||||
Reference in New Issue
Block a user