feat: 开站引导开始完成接口
This commit is contained in:
@@ -39,7 +39,6 @@ export async function listMain() {
|
||||
const serialNum = (value as any).serialNum;
|
||||
const version = (value as any).version;
|
||||
|
||||
|
||||
const errCode = systemState && systemState['errorCode'];
|
||||
var time = new Date();
|
||||
// console.log(key, value);
|
||||
@@ -59,7 +58,7 @@ export async function listMain() {
|
||||
ipAddress,
|
||||
serialNum,
|
||||
name: key.split('/').join('_'),
|
||||
expiryDate:'-',
|
||||
expiryDate: '-',
|
||||
status: 'Abnormal',
|
||||
};
|
||||
}
|
||||
@@ -104,5 +103,30 @@ export function getSysConf() {
|
||||
return request({
|
||||
url: `/sys-conf`,
|
||||
method: 'get',
|
||||
whithToken: false,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 首次引导安装开始
|
||||
* @returns object
|
||||
*/
|
||||
export function guideStart() {
|
||||
return request({
|
||||
url: `/guide`,
|
||||
method: 'post',
|
||||
whithToken: false,
|
||||
repeatSubmit: false,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 首次引导安装完成
|
||||
* @returns object
|
||||
*/
|
||||
export function guideDone() {
|
||||
return request({
|
||||
url: `/guide`,
|
||||
method: 'put',
|
||||
});
|
||||
}
|
||||
|
||||
@@ -168,6 +168,7 @@ export function savePara5GFile(data: Record<string, any>) {
|
||||
url: `/ne/info/para5GFile`,
|
||||
method: 'put',
|
||||
data: data,
|
||||
timeout: 60_000,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user