|
|
@@ -220,15 +220,15 @@ $(function () {
|
|
|
// 企业用户数量
|
|
|
$.ajax({
|
|
|
type: "GET",
|
|
|
- url: "https://sso.ubtob.com/api/userspace/count",
|
|
|
+ url: "https://ssorest.usoftchina.cn/api/enterprise/total/get",
|
|
|
dataType: "json",
|
|
|
success: function (data) {
|
|
|
- if(data.count) {
|
|
|
- userspaceCount = data.count
|
|
|
+ if(data.entTotal) {
|
|
|
+ userspaceCount = toFinxedNum(data.entTotal, 1)
|
|
|
} else {
|
|
|
- userspaceCount = 10458;
|
|
|
+ userspaceCount = '- 家';
|
|
|
}
|
|
|
- $('.userspace-count').html(toFinxedNum(data.count, 1))
|
|
|
+ $('.userspace-count').html(userspaceCount)
|
|
|
},
|
|
|
error: function () {
|
|
|
$('.userspace-count').html('- 家')
|
|
|
@@ -237,15 +237,15 @@ $(function () {
|
|
|
// 个人用户数量
|
|
|
$.ajax({
|
|
|
type: "GET",
|
|
|
- url: "https://sso.ubtob.com/api/user/count",
|
|
|
+ url: "https://ssorest.usoftchina.cn/api/user/total/get",
|
|
|
dataType: "json",
|
|
|
success: function (data) {
|
|
|
- if(data.count) {
|
|
|
- userCount = data.count
|
|
|
+ if(data.userTotal) {
|
|
|
+ userCount = toFinxedNum(data.userTotal, 2)
|
|
|
} else {
|
|
|
- userCount = 41697;
|
|
|
+ userCount = '- 个';
|
|
|
}
|
|
|
- $('.user-count').html(toFinxedNum(userCount, 2))
|
|
|
+ $('.user-count').html(userCount)
|
|
|
},
|
|
|
error: function () {
|
|
|
$('.user-count').html('- 个')
|
|
|
@@ -305,7 +305,7 @@ $(function () {
|
|
|
})
|
|
|
|
|
|
$('.a_logout').click(function () {
|
|
|
- window.location.href = 'https://sso2.usoftchina.com/loginOut.html?returnURL=' + encodeURIComponent(window.location.href) + '&baseUrl=' + encodeURIComponent('https://acctrest.usoftchina.com');
|
|
|
+ window.location.href = 'https://sso2.usoftchina.com/loginOut.html?returnURL=' + encodeURIComponent(window.location.href) + '&baseUrl=' + encodeURIComponent('https://ssorest.usoftchina.com');
|
|
|
});
|
|
|
|
|
|
$('.a_register').click(function () {
|