feat:计费规则界面接通
This commit is contained in:
@@ -163,4 +163,38 @@ export function fetchBillList(params: Api.Auth.BillParams) {
|
||||
params
|
||||
});
|
||||
}
|
||||
/** 获取AP设备列表 */
|
||||
export function fetchApDeviceList(params: Api.Device.ApDeviceParams) {
|
||||
return request<Api.Device.ApDeviceResponse>({
|
||||
url: '/system/device/list',
|
||||
method: 'get',
|
||||
params
|
||||
});
|
||||
}
|
||||
/** 获取终端设备列表 */
|
||||
export function fetchTerminalList(params: Api.Device.TerminalDeviceParams) {
|
||||
return request<Api.Device.TerminalDeviceResponse>({
|
||||
url: '/system/client/list',
|
||||
method: 'get',
|
||||
params
|
||||
});
|
||||
}
|
||||
/** 获取计费规则列表 */
|
||||
export function fetchBillRuleList() {
|
||||
return request<Api.Billing.BillRuleResponse>({
|
||||
url: '/system/billRule/list',
|
||||
method: 'get'
|
||||
});
|
||||
}
|
||||
|
||||
/** 更新计费规则 */
|
||||
export function updateBillRule(data: Api.Billing.BillRuleUpdate) {
|
||||
return request<any>({
|
||||
url: '/system/billRule',
|
||||
method: 'put',
|
||||
data
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user