自动拍照

master
fanluyan 2 years ago
parent 6ffd743b39
commit 8b22a384ff

@ -581,7 +581,7 @@ export default {
getLatestPhotoJoggle({ getLatestPhotoJoggle({
captureType: 0, captureType: 0,
channel: command, channel: command,
cmdid: this.cmdid, // cmdid: this.cmdid,
termId: this.newTermId, termId: this.newTermId,
preset: 255, preset: 255,
}) })
@ -612,7 +612,7 @@ export default {
getLatestPhotoJoggle({ getLatestPhotoJoggle({
captureType: 1, captureType: 1,
channel: command, channel: command,
cmdid: this.cmdid, //cmdid: this.cmdid,
termId: this.newTermId, termId: this.newTermId,
preset: 255, preset: 255,
}) })

@ -28,11 +28,11 @@ module.exports = defineConfig({
proxy: { proxy: {
"/api": { "/api": {
//表示拦截以/api开头的请求路径 //表示拦截以/api开头的请求路径
//target: "http://47.96.238.157:8093", //阿里云服务器环境 target: "http://47.96.238.157:8093", //阿里云服务器环境
target: "http://180.166.218.222:40080", //dell // target: "http://180.166.218.222:40080", //dell
changOrigin: true, //是否开启跨域 changOrigin: true, //是否开启跨域
pathRewrite: { pathRewrite: {
"^/api": "/api", //重写api把api变成空字符因为我们真正请求的路径是没有api的 "^/api": "", //重写api把api变成空字符因为我们真正请求的路径是没有api的
}, },
}, },
}, },

Loading…
Cancel
Save