fix geek prod url

master
luoyang 5 years ago
parent a4194c2686
commit c4ccd9c558

@ -356,7 +356,7 @@
} }
function getGeekSsoLoginUrl() { function getGeekSsoLoginUrl() {
var url = "http://mch.dev.geekforbest.com/#/sso_login?token="; var url = "https://mch.royalpay.com.au/#/sso_login?token=";
$.ajax({ $.ajax({
url: '/client/partner_info/incremental_service/RYCBSM/login_token', url: '/client/partner_info/incremental_service/RYCBSM/login_token',
method: 'get', method: 'get',

@ -337,7 +337,7 @@
} }
function getGeekSsoLoginUrl() { function getGeekSsoLoginUrl() {
var url = "http://mch.dev.geekforbest.com/#/sso_login?token="; var url = "https://mch.royalpay.com.au/#/sso_login?token=";
$.ajax({ $.ajax({
url: '/client/partner_info/incremental_service/RYCBSM/login_token', url: '/client/partner_info/incremental_service/RYCBSM/login_token',
method: 'get', method: 'get',

@ -43,7 +43,7 @@ define(['angular', 'uiBootstrap', 'uiRouter'], function (angular) {
} }
$scope.getGeekSsoLoginUrl = function () { $scope.getGeekSsoLoginUrl = function () {
var url = "http://mch.dev.geekforbest.com/#/sso_login?token="; var url = "https://mch.royalpay.com.au/#/sso_login?token=";
$http.get("/client/partner_info/incremental_service/RYCBSM/login_token").then(function (res) { $http.get("/client/partner_info/incremental_service/RYCBSM/login_token").then(function (res) {
url += res.data.token; url += res.data.token;
window.open(url, '_blank'); window.open(url, '_blank');
@ -92,7 +92,7 @@ define(['angular', 'uiBootstrap', 'uiRouter'], function (angular) {
} }
$scope.getGeekSsoLoginUrl = function () { $scope.getGeekSsoLoginUrl = function () {
var url = "http://mch.dev.geekforbest.com/#/sso_login?token="; var url = "https://mch.royalpay.com.au/#/sso_login?token=";
$http.get("/client/partner_info/incremental_service/RYCBSM/login_token").then(function (res) { $http.get("/client/partner_info/incremental_service/RYCBSM/login_token").then(function (res) {
url += res.data.token; url += res.data.token;
window.open(url, '_blank'); window.open(url, '_blank');

Loading…
Cancel
Save