Commit e23e3a7d authored by 5359's avatar 5359

测试环境配置

parent 1cedf6a1
Pipeline #6289 canceled with stages
......@@ -17,19 +17,19 @@ module.exports = merge(prodEnv, {
//filePath: "http://123.125.154.135:10004/core/r/api?sysName=dr_uat&apiName=file_view&",
// 测试环境
// loginPath: '"http://hlsapp.hand-china.com/core/oauth/token?client_id=hQGCtxTItRa34PUOgxaD0r7oSPeuEaIB&client_secret=7ee8338c-4a06-44a1-87cc-afa63f8e1bc3&grant_type=password&username=app&password=" ',
// loginPathRl: '"http://lease.hitachics.com/core/oauth/token?client_id=client2&client_secret=secret&grant_type=password&username=admin&password="',
// basePath: '"http://lease.hitachics.com/core/r/api?sysName=HCL_UPLOAD_FILE&apiName="',
// basePathRl: '"http://lease.hitachics.com/core/r/api?sysName=wxgzh_hitachics&apiName="',
// rootPath: '"http://lease.hitachics.com/core/r/api"',
// file_url: '"http://lease.hitachics.com/file/"',
// domainUrl: "http://lease.hitachics.com",
// loginPathRl: '"http://sign.hitachics.com/core/oauth/token?client_id=client2&client_secret=secret&grant_type=password&username=admin&password="',
// basePath: '"http://sign.hitachics.com/core/r/api?sysName=HCL_UPLOAD_FILE&apiName="',
// basePathRl: '"http://sign.hitachics.com/core/r/api?sysName=wxgzh_hitachics&apiName="',
// rootPath: '"http://sign.hitachics.com/core/r/api"',
// file_url: '"http://sign.hitachics.com/file/"',
// domainUrl: "http://sign.hitachics.com",
// 正式环境
loginPathRl: '"http://lease.hitachics.com/core/oauth/token?client_id=client2&client_secret=secret&grant_type=password&username=admin&password="',
basePath: '"http://lease.hitachics.com/core/r/api?sysName=HCL_UPLOAD_FILE&apiName="',
basePathRl: '"http://lease.hitachics.com/core/r/api?sysName=wxgzh_hitachics&apiName="',
rootPath: '"http://lease.hitachics.com/core/r/api"',
file_url: '"http://lease.hitachics.com/file/"',
domainUrl: "http://lease.hitachics.com",
loginPathRl: '"http://sign.hitachics.com/core/oauth/token?client_id=client2&client_secret=secret&grant_type=password&username=admin&password="',
basePath: '"http://sign.hitachics.com/core/r/api?sysName=HCL_UPLOAD_FILE&apiName="',
basePathRl: '"http://sign.hitachics.com/core/r/api?sysName=wxgzh_hitachics&apiName="',
rootPath: '"http://sign.hitachics.com/core/r/api"',
file_url: '"http://sign.hitachics.com/file/"',
domainUrl: "http://sign.hitachics.com",
appId: '"com.hls.easy.car"',
currentVersion: '"1.0.0"',
wxCode: "'hlsWx'",
......
......@@ -6,12 +6,12 @@ module.exports = {
isMobilePlatform: false,
appCode: '"HLS_APP"',
clearTable: true,
loginPath: '"http://lease.hitachics.com/core/oauth/token?client_id=hQGCtxTItRa34PUOgxaD0r7oSPeuEaIB&client_secret=7ee8338c-4a06-44a1-87cc-afa63f8e1bc3&grant_type=password&username=app&password=" ',
loginPathRl: '"http://lease.hitachics.com/core/oauth/token?client_id=client2&client_secret=secret&grant_type=password&username=admin&password="',
basePath: '"http://lease.hitachics.com/core/r/api?sysName=HCL_UPLOAD_FILE&apiName="',
basePathRl: '"http://lease.hitachics.com/core/r/api?sysName=wxgzh_hitachics&apiName="',
rootPath: '"http://lease.hitachics.com/core/r/api"',
file_url: '"http://lease.hitachics.com/file/"',
loginPath: '"http://sign.hitachics.com/core/oauth/token?client_id=hQGCtxTItRa34PUOgxaD0r7oSPeuEaIB&client_secret=7ee8338c-4a06-44a1-87cc-afa63f8e1bc3&grant_type=password&username=app&password=" ',
loginPathRl: '"http://sign.hitachics.com/core/oauth/token?client_id=client2&client_secret=secret&grant_type=password&username=admin&password="',
basePath: '"http://sign.hitachics.com/core/r/api?sysName=HCL_UPLOAD_FILE&apiName="',
basePathRl: '"http://sign.hitachics.com/core/r/api?sysName=wxgzh_hitachics&apiName="',
rootPath: '"http://sign.hitachics.com/core/r/api"',
file_url: '"http://sign.hitachics.com/file/"',
appId: '"com.hls.easy.car"',
currentVersion: '"1.0.0"',
wxCode: "'hlsWx'",
......
......@@ -6,12 +6,12 @@ module.exports = {
isMobilePlatform: false,
appCode: '"HLS_APP"',
clearTable: true,
loginPath: '"http://lease.hitachics.com/core/oauth/token?client_id=hQGCtxTItRa34PUOgxaD0r7oSPeuEaIB&client_secret=7ee8338c-4a06-44a1-87cc-afa63f8e1bc3&grant_type=password&username=app&password=" ',
loginPathRl: '"http://lease.hitachics.com/core/oauth/token?client_id=client2&client_secret=secret&grant_type=password&username=admin&password="',
basePath: '"http://lease.hitachics.com/core/r/api?sysName=HCL_UPLOAD_FILE&apiName="',
basePathRl: '"http://lease.hitachics.com/core/r/api?sysName=wxgzh_hitachics&apiName="',
rootPath: '"http://lease.hitachics.com/core/r/api"',
file_url: '"http://lease.hitachics.com/file/"',
loginPath: '"http://sign.hitachics.com/core/oauth/token?client_id=hQGCtxTItRa34PUOgxaD0r7oSPeuEaIB&client_secret=7ee8338c-4a06-44a1-87cc-afa63f8e1bc3&grant_type=password&username=app&password=" ',
loginPathRl: '"http://sign.hitachics.com/core/oauth/token?client_id=client2&client_secret=secret&grant_type=password&username=admin&password="',
basePath: '"http://sign.hitachics.com/core/r/api?sysName=HCL_UPLOAD_FILE&apiName="',
basePathRl: '"http://sign.hitachics.com/core/r/api?sysName=wxgzh_hitachics&apiName="',
rootPath: '"http://sign.hitachics.com/core/r/api"',
file_url: '"http://sign.hitachics.com/file/"',
appId: '"com.hls.easy.car"',
currentVersion: '"1.0.0"',
wxCode: "'hlsWx'",
......
......@@ -1080,7 +1080,7 @@ export default {
agentType: "1",
// dealerFlag: vm.agentType,
redirectUrl:
"http://lease.hitachics.com/www/#/UserRegister/CompanyRegister?Regstatus=1"
"http://sign.hitachics.com/www/#/UserRegister/CompanyRegister?Regstatus=1"
};
vm.hlsPopup.showLoading("请稍等");
vm.$post(url, param).then(function(res) {
......@@ -1144,7 +1144,7 @@ export default {
legalIdNo: vm.legalRepresentativeCardNumber1,
agentType: "2",
redirectUrl:
"http://lease.hitachics.com/www/#/UserRegister/CompanyRegister?Regstatus=2"
"http://sign.hitachics.com/www/#/UserRegister/CompanyRegister?Regstatus=2"
};
vm.hlsPopup.showLoading("请稍等");
vm.$post(url, param).then(function(res) {
......@@ -1193,7 +1193,7 @@ export default {
if (res.code == 0) {
vm.$vux.toast.text(res.message, "middle");
window.open(
"http://lease.hitachics.com/www/#/UserRegister",
"http://sign.hitachics.com/www/#/UserRegister",
"_self"
);
} else {
......@@ -1218,7 +1218,7 @@ export default {
if (res.code == 0) {
vm.$vux.toast.text(res.message, "middle");
window.open(
"http://lease.hitachics.com/www/#/UserRegister",
"http://sign.hitachics.com/www/#/UserRegister",
"_self"
);
} else {
......@@ -1229,7 +1229,7 @@ export default {
// 认证结果返回给接口
authResult(id, code, suc) {
let vm = this;
let url = "http://lease.hitachics.com/core/api/public/listen/auth/result";
let url = "http://sign.hitachics.com/core/api/public/listen/auth/result";
let param = {
contextId: id,
verifycode: code,
......
......@@ -363,7 +363,7 @@
name: vm.personName,
mobile: vm.phoneNumber,
redirectUrl:
"http://lease.hitachics.com/www/#/UserRegister/PersonalRegister?Regstatus=1"
"http://sign.hitachics.com/www/#/UserRegister/PersonalRegister?Regstatus=1"
};
vm.hlsPopup.showLoading("请稍等");
vm.$post(url, param).then(function (res) {
......@@ -382,7 +382,7 @@
// 获取url地址参数
UrlSearch() {
var name, value;
// var str="http://lease.hitachics.com/www/#/UserRegister/PersonalRegister?Regstatus=1&status=true&serviceId=1151815015435601748&verifycode=4accf0d2106f9c7361be72093e1fb793&contextId=10074&passed=true"; //取得整个地址栏
// var str="http://sign.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("?");
......@@ -401,7 +401,7 @@
// 认证结果返回给接口
authResult(id, code, suc) {
let vm = this;
let url = "http://lease.hitachics.com/core/api/public/listen/auth/result";
let url = "http://sign.hitachics.com/core/api/public/listen/auth/result";
let param = {
contextId: id,
verifycode: code,
......@@ -430,7 +430,7 @@
if (res.code == 0) {
vm.$vux.toast.text(res.message, "middle");
window.open(
"http://lease.hitachics.com/www/#/UserRegister",
"http://sign.hitachics.com/www/#/UserRegister",
"_self"
);
} else {
......@@ -454,7 +454,7 @@
if (res.code == 0) {
vm.$vux.toast.text(res.message, "middle");
window.open(
"http://lease.hitachics.com/www/#/UserRegister",
"http://sign.hitachics.com/www/#/UserRegister",
"_self"
);
} else {
......
......@@ -358,7 +358,7 @@ export default {
if (res.code == 0) {
vm.$vux.toast.text(res.message, "middle");
window.open(
"http://lease.hitachics.com/www/#/UserRegister",
"http://sign.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://lease.hitachics.com/www/#/UserRegister",
"http://sign.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