|
|
|
@ -44,7 +44,7 @@ define(['angular', 'uiBootstrap', 'uiRouter'], function (angular) {
|
|
|
|
|
|
|
|
|
|
$scope.getGeekSsoLoginUrl = function () {
|
|
|
|
|
var url = "http://mch.dev.geekforbest.com/#/sso_login?token=";
|
|
|
|
|
$http.get("/client/partner_info/incremental_service/RP跨境商城/login_token").then(function (res) {
|
|
|
|
|
$http.get("/client/partner_info/incremental_service/RYCBSM/login_token").then(function (res) {
|
|
|
|
|
url += res.data.token;
|
|
|
|
|
window.open(url, '_blank');
|
|
|
|
|
}, function (resp) {
|
|
|
|
@ -93,7 +93,7 @@ define(['angular', 'uiBootstrap', 'uiRouter'], function (angular) {
|
|
|
|
|
|
|
|
|
|
$scope.getGeekSsoLoginUrl = function () {
|
|
|
|
|
var url = "http://mch.dev.geekforbest.com/#/sso_login?token=";
|
|
|
|
|
$http.get("/client/partner_info/incremental_service/" + $stateParams.channel + "/login_token").then(function (res) {
|
|
|
|
|
$http.get("/client/partner_info/incremental_service/RYCBSM/login_token").then(function (res) {
|
|
|
|
|
url += res.data.token;
|
|
|
|
|
window.open(url, '_blank');
|
|
|
|
|
}, function (resp) {
|
|
|
|
|