开始做登录
This commit is contained in:
12
service/meter.js
Normal file
12
service/meter.js
Normal file
@@ -0,0 +1,12 @@
|
||||
import apis from '../utils/request';
|
||||
const { GET, POST, PUT, DELETE } = apis
|
||||
|
||||
// 获取电表列表
|
||||
export const getMeterList = async function() {
|
||||
return await GET('/wx/getMeterList');
|
||||
}
|
||||
|
||||
// 获取表计详情
|
||||
export const getMeterDetail = async function() {
|
||||
return await GET(`/wx/getMeterDetail/${tenement}/${code}`);
|
||||
}
|
Reference in New Issue
Block a user