hldy_app/unpackage/dist/dev/mp-weixin/pages/watch/api/lunpan.js

17 lines
780 B
JavaScript
Raw Normal View History

2025-09-30 14:56:53 +08:00
"use strict";
const common_vendor = require("../../../common/vendor.js");
const request_guanli = require("../../../request/guanli.js");
const movedirection = (direction, startOrNot) => {
2025-10-09 17:04:26 +08:00
const url = `/iot/tplink/cameraInfo/motionCtrl?deviceIndex=${common_vendor.index.getStorageSync("saveinit") || 5}&direction=${direction}&startOrNot=${startOrNot}&speed=1`;
2025-09-30 14:56:53 +08:00
return request_guanli.request({ url, method: "get" });
};
const queryPadPageList = () => {
return request_guanli.request({
url: `${common_vendor.index.getStorageSync("serverUrl")}/api/pad/baseInfo/queryPadPageList`,
method: "get"
});
};
exports.movedirection = movedirection;
exports.queryPadPageList = queryPadPageList;
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/watch/api/lunpan.js.map