fix-版权
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -40,4 +40,4 @@ src/main/java/com/.DS_Store
|
|||||||
src/main/java/.DS_Store
|
src/main/java/.DS_Store
|
||||||
src/main/.DS_Store
|
src/main/.DS_Store
|
||||||
.DS_Store
|
.DS_Store
|
||||||
/crmebimage/
|
/lxkimage/
|
||||||
|
|||||||
@@ -132,7 +132,6 @@ public class AdminLoginServiceImpl implements AdminLoginService {
|
|||||||
@Override
|
@Override
|
||||||
public SystemLoginResponse platformLogin(SystemAdminLoginRequest request, String ip) {
|
public SystemLoginResponse platformLogin(SystemAdminLoginRequest request, String ip) {
|
||||||
SystemLoginResponse loginResponse = login(request, RoleEnum.PLATFORM_ADMIN.getValue(), ip);
|
SystemLoginResponse loginResponse = login(request, RoleEnum.PLATFORM_ADMIN.getValue(), ip);
|
||||||
asyncService.installStatistics();
|
|
||||||
return loginResponse;
|
return loginResponse;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -22,8 +22,7 @@ public class OnePassConstants {
|
|||||||
public static final String ONE_PASS_USER_TOKEN_PREFIX = "Bearer-";
|
public static final String ONE_PASS_USER_TOKEN_PREFIX = "Bearer-";
|
||||||
|
|
||||||
// 一号通请求地址
|
// 一号通请求地址
|
||||||
public static final String ONE_PASS_API_URL = "https://sms.crmeb.net/api/";// 正式环境
|
public static final String ONE_PASS_API_URL = "https://sms.lxk.net/api/";// 正式环境
|
||||||
// public static final String ONE_PASS_API_URL = "http://plat.crmeb.net/api/";// 测试环境
|
|
||||||
|
|
||||||
// 连线可平台通请求地址
|
// 连线可平台通请求地址
|
||||||
public static final String LXK_SERVER_API_URL = "https://saasmall.lianxianke.cn/lxk-api";
|
public static final String LXK_SERVER_API_URL = "https://saasmall.lianxianke.cn/lxk-api";
|
||||||
|
|||||||
@@ -188,7 +188,7 @@ public class SysConfigConstants {
|
|||||||
/**
|
/**
|
||||||
* LXK chat 统计
|
* LXK chat 统计
|
||||||
*/
|
*/
|
||||||
public static final String JS_CONFIG_CRMEB_CHAT_TONGJI = "lxk_tongji_js";
|
public static final String JS_CONFIG_LXK_CHAT_TONGJI = "lxk_tongji_js";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 用户默认头像
|
* 用户默认头像
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
package com.zbkj.common.enums;
|
package com.zbkj.common.enums;
|
||||||
|
|
||||||
public class Encrypt {
|
public class Encrypt {
|
||||||
public static final String LXK_COPYRIGHT_URL = "https://authorize.crmeb.net/api/auth_cert_query?domain_name={}&label={}&version={}";
|
|
||||||
public static final String LXK_COPYRIGHT_URL_DATA = "data";
|
public static final String LXK_COPYRIGHT_URL_DATA = "data";
|
||||||
public static final String LXK_COPYRIGHT_URL_STATUS = "status";
|
public static final String LXK_COPYRIGHT_URL_STATUS = "status";
|
||||||
public static final String LXK_COPYRIGHT_URL_COPYRIGHT = "copyright";
|
public static final String LXK_COPYRIGHT_URL_COPYRIGHT = "copyright";
|
||||||
|
|||||||
@@ -46,10 +46,6 @@ public interface AsyncService {
|
|||||||
*/
|
*/
|
||||||
void visitUserCenter(Integer uid);
|
void visitUserCenter(Integer uid);
|
||||||
|
|
||||||
/**
|
|
||||||
* 安装统计
|
|
||||||
*/
|
|
||||||
void installStatistics();
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 发送充值成功通知
|
* 发送充值成功通知
|
||||||
|
|||||||
@@ -223,34 +223,6 @@ public class AsyncServiceImpl implements AsyncService {
|
|||||||
userVisitRecordService.save(visitRecord);
|
userVisitRecordService.save(visitRecord);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* 安装统计
|
|
||||||
*/
|
|
||||||
@Async
|
|
||||||
@Override
|
|
||||||
public void installStatistics() {
|
|
||||||
String isInstall = systemConfigService.getValueByKey(SysConfigConstants.CONFIG_INSTALL_STATISTICS);
|
|
||||||
if (StrUtil.isNotBlank(isInstall) && isInstall.equals("1")) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
String version = lxkConfig.getVersion();
|
|
||||||
if (StrUtil.isBlank(version) || !(StrUtil.startWithIgnoreCase(version, "LXK"))) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
String apiUrl = systemConfigService.getValueByKey(SysConfigConstants.CONFIG_KEY_API_URL);
|
|
||||||
if (StrUtil.isBlank(apiUrl) || !(StrUtil.startWithIgnoreCase(apiUrl, "http"))) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
Map<String, String> map = new HashMap<>();
|
|
||||||
map.put("host", apiUrl);
|
|
||||||
map.put("version", version);
|
|
||||||
map.put("https", "https");
|
|
||||||
String result = HttpUtil.post("https://shop.crmeb.net/index.php/admin/server.upgrade_api/updatewebinfo", JSONObject.toJSONString(map));
|
|
||||||
JSONObject jsonObject = JSONObject.parseObject(result);
|
|
||||||
if (jsonObject.getInteger("status").equals(200)) {
|
|
||||||
systemConfigService.updateOrSaveValueByName(SysConfigConstants.CONFIG_INSTALL_STATISTICS, "1");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 发送充值成功通知
|
* 发送充值成功通知
|
||||||
|
|||||||
Reference in New Issue
Block a user