17 lines
780 B
JavaScript
17 lines
780 B
JavaScript
"use strict";
|
|
const common_vendor = require("../../../common/vendor.js");
|
|
const request_guanli = require("../../../request/guanli.js");
|
|
const movedirection = (direction, startOrNot) => {
|
|
const url = `/iot/tplink/cameraInfo/motionCtrl?deviceIndex=${common_vendor.index.getStorageSync("saveinit") || 5}&direction=${direction}&startOrNot=${startOrNot}&speed=1`;
|
|
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
|