接口调试地址

master
CTP 2 years ago
parent 1564eb6eb9
commit 57f922fb4a

@ -5,7 +5,7 @@ VUE_APP_TITLE = UDI管理系统
ENV = 'development'
# 若依管理系统/开发环境
VUE_APP_BASE_API = '/dev-api'
VUE_APP_BASE_API = 'http://192.168.0.195:9991'
# 应用访问路径 例如使用前缀 /admin/
VUE_APP_CONTEXT_PATH = '/'

@ -265,7 +265,7 @@ export default {
console.log("response", response);
if (response.code == 20000) {
this.validateBtn();
this.$message.success("验证码发送成功");
this.$message.success(response.data);
} else {
this.$message.error(response.message);
}
@ -281,7 +281,6 @@ export default {
console.log("444");
if (response.code === 20000) {
this.$router.push("/userInformation");
this.$message.error("提交成功");
} else {
this.$message.error(response.message);
@ -289,7 +288,6 @@ export default {
});
}
});
this.$router.push("/userInformation");
},
//

@ -35,7 +35,7 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
target: `http://api.clborch.com:8190`,
target: process.env.VUE_APP_BASE_API,
changeOrigin: true,
pathRewrite: {
["^" + process.env.VUE_APP_BASE_API]: "",

Loading…
Cancel
Save