diff --git a/api/device/device.js b/api/device/device.js
index e7ff406..59006f0 100644
--- a/api/device/device.js
+++ b/api/device/device.js
@@ -20,3 +20,21 @@ export function bstDevice(data) {
},
});
}
+
+export function sendCommand(data) {
+ return request({
+ url: "/app/memorial/sendCommand",
+ method: "POST",
+ data: data,
+ });
+}
+
+export function getDeviceData(mac) {
+ return request({
+ url: "/app/memorial/getDeviceData",
+ method: "GET",
+ params: {
+ mac: mac,
+ },
+ });
+}
diff --git a/page_user/deviceControl/deviceControl.vue b/page_user/deviceControl/deviceControl.vue
new file mode 100644
index 0000000..bb787c0
--- /dev/null
+++ b/page_user/deviceControl/deviceControl.vue
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
diff --git a/pages.json b/pages.json
index 1f817ad..b5afb2e 100644
--- a/pages.json
+++ b/pages.json
@@ -282,6 +282,13 @@
"style": {
"navigationBarTitleText": ""
}
+ },
+ {
+ "path" : "deviceControl/deviceControl",
+ "style" :
+ {
+ "navigationBarTitleText" : ""
+ }
}
]
}