Commit 1a483908 authored by 5359's avatar 5359

生产环境配置

parent fbf3d5d3
......@@ -1093,7 +1093,7 @@
agentType: "1",
// dealerFlag: vm.agentType,
redirectUrl:
"http://sign.hitachics.com/www/#/UserRegister/CompanyRegister?Regstatus=1"
"http://lease.hitachics.com/www/#/UserRegister/CompanyRegister?Regstatus=1"
};
vm.hlsPopup.showLoading("请稍等");
vm.$post(url, param).then(function (res) {
......@@ -1157,7 +1157,7 @@
legalIdNo: vm.legalRepresentativeCardNumber1,
agentType: "2",
redirectUrl:
"http://sign.hitachics.com/www/#/UserRegister/CompanyRegister?Regstatus=2"
"http://lease.hitachics.com/www/#/UserRegister/CompanyRegister?Regstatus=2"
};
vm.hlsPopup.showLoading("请稍等");
vm.$post(url, param).then(function (res) {
......@@ -1206,7 +1206,7 @@
if (res.code == 0) {
vm.$vux.toast.text(res.message, "middle");
window.open(
"http://sign.hitachics.com/www/#/UserRegister",
"http://lease.hitachics.com/www/#/UserRegister",
"_self"
);
} else {
......@@ -1231,7 +1231,7 @@
if (res.code == 0) {
vm.$vux.toast.text(res.message, "middle");
window.open(
"http://sign.hitachics.com/www/#/UserRegister",
"http://lease.hitachics.com/www/#/UserRegister",
"_self"
);
} else {
......@@ -1242,7 +1242,7 @@
// 认证结果返回给接口
authResult(id, code, suc) {
let vm = this;
let url = "http://sign.hitachics.com/core/api/public/listen/auth/result";
let url = "http://lease.hitachics.com/core/api/public/listen/auth/result";
let param = {
contextId: id,
verifycode: code,
......
......@@ -361,7 +361,7 @@
name: vm.personName,
mobile: vm.phoneNumber,
redirectUrl:
"http://sign.hitachics.com/www/#/UserRegister/PersonalRegister?Regstatus=1"
"http://lease.hitachics.com/www/#/UserRegister/PersonalRegister?Regstatus=1"
};
vm.hlsPopup.showLoading("请稍等");
vm.$post(url, param).then(function (res) {
......@@ -380,7 +380,7 @@
// 获取url地址参数
UrlSearch() {
var name, value;
// var str="http://sign.hitachics.com/www/#/UserRegister/PersonalRegister?Regstatus=1&status=true&serviceId=1151815015435601748&verifycode=4accf0d2106f9c7361be72093e1fb793&contextId=10074&passed=true"; //取得整个地址栏
// var str="http://lease.hitachics.com/www/#/UserRegister/PersonalRegister?Regstatus=1&status=true&serviceId=1151815015435601748&verifycode=4accf0d2106f9c7361be72093e1fb793&contextId=10074&passed=true"; //取得整个地址栏
var str = window.location.href; //取得整个地址栏
// alert(str)
var num = str.indexOf("?");
......@@ -399,7 +399,7 @@
// 认证结果返回给接口
authResult(id, code, suc) {
let vm = this;
let url = "http://sign.hitachics.com/core/api/public/listen/auth/result";
let url = "http://lease.hitachics.com/core/api/public/listen/auth/result";
let param = {
contextId: id,
verifycode: code,
......@@ -428,7 +428,7 @@
if (res.code == 0) {
vm.$vux.toast.text(res.message, "middle");
window.open(
"http://sign.hitachics.com/www/#/UserRegister",
"http://lease.hitachics.com/www/#/UserRegister",
"_self"
);
} else {
......@@ -452,7 +452,7 @@
if (res.code == 0) {
vm.$vux.toast.text(res.message, "middle");
window.open(
"http://sign.hitachics.com/www/#/UserRegister",
"http://lease.hitachics.com/www/#/UserRegister",
"_self"
);
} else {
......
......@@ -385,7 +385,7 @@ export default {
if (res.code == 0) {
vm.$vux.toast.text(res.message, "middle");
window.open(
"http://sign.hitachics.com/www/#/UserRegister",
"http://lease.hitachics.com/www/#/UserRegister",
"_self"
);
} else {
......
......@@ -111,7 +111,7 @@ export default {
if (res.code == 0) {
vm.$vux.toast.text(res.message, "middle");
window.open(
"http://sign.hitachics.com/www/#/UserRegister",
"http://lease.hitachics.com/www/#/UserRegister",
"_self"
);
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment