diff --git a/config/index.js b/config/index.js index 6c908b7..5a5e1cd 100644 --- a/config/index.js +++ b/config/index.js @@ -26,7 +26,8 @@ module.exports = { assetsPublicPath: "/", proxyTable: { "/api": { - target: "http://192.168.31.214:8084/", //设置你调用的接口域名和端口号 别忘了加http 本地 + // target: "http://192.168.31.214:8084/", //设置你调用的接口域名和端口号 别忘了加http 本地 + target: "http://192.168.31.177:8084/", //设置你调用的接口域名和端口号 别忘了加http 本地 //target: "http://192.168.31.209:8084/", //设置你调用的接口域名和端口号 别忘了加http 本地 // target: "http://192.168.31.201:8084/", //设置你调用的接口域名和端口号 别忘了加http 本地 // target: "http://139.9.185.131:8098/", //设置你调用的接口域名和端口号 别忘了加http 天懿达正式 diff --git a/src/api/storeManage.js b/src/api/storeManage.js index 595e36f..1dedf30 100644 --- a/src/api/storeManage.js +++ b/src/api/storeManage.js @@ -5,6 +5,8 @@ import { localPath } from "./api.js"; + + // 获取某门店参数 export function allStores(data){ return service({ @@ -14,6 +16,24 @@ export function allStores(data){ }) } +// 获取超级密码验证码 +export function getStoreId(data){ + return service({ + url: "/api" + '/demay/ssm/staffLogin/getDynamicPsw', + method: "post", + data + }) +} + +// 动态密码登录 +export function DynamicLoginNews(data){ + return service({ + url: "/api" + '/demay/ssm/staffLogin/DynamicLoginNews', + method: "post", + data + }) +} + // 同步总店数据 export function totalData(params){ return service({ diff --git a/src/components/staffList/staff/index.vue b/src/components/staffList/staff/index.vue index e9572b2..1b1bf53 100644 --- a/src/components/staffList/staff/index.vue +++ b/src/components/staffList/staff/index.vue @@ -16,7 +16,7 @@