Commit e23e3a7d authored by 5359's avatar 5359

测试环境配置

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