日志id更换处理
This commit is contained in:
parent
38fde49712
commit
5fd260496f
@ -69,7 +69,7 @@ public class GatewayLogging implements ToClsLog, Serializable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!Objects.equals(this.getResponse().getCode(), "200")) {
|
if (!Objects.equals(this.getResponse().getCode(), "200")) {
|
||||||
// loggingUploadService.upload(this);
|
loggingUploadService.upload(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -8,8 +8,8 @@ public enum LogTopic {
|
|||||||
/**
|
/**
|
||||||
* 钱包金币资产.
|
* 钱包金币资产.
|
||||||
*/
|
*/
|
||||||
WALLET_GOLD_ASSET_PROD("31fdc347-d4e0-421d-be1b-a77fd5f32659"),
|
WALLET_GOLD_ASSET_PROD("45b22e07-3cc4-41e5-944c-ebda65330e39"),
|
||||||
WALLET_GOLD_ASSET_DEVELOP("180afe72-b0fe-4502-bbc2-55a8a5193e78");
|
WALLET_GOLD_ASSET_DEVELOP("931e4d86-fde3-455e-b225-59f83ce30235");
|
||||||
|
|
||||||
private final String topic;
|
private final String topic;
|
||||||
|
|
||||||
|
|||||||
@ -122,9 +122,9 @@ public class WalletAssetSyncTool {
|
|||||||
WalletGoldAssetRecord goldAssetRecord = toWalletGoldAssetRecord(receipt);
|
WalletGoldAssetRecord goldAssetRecord = toWalletGoldAssetRecord(receipt);
|
||||||
walletGoldAssetRecordService.save(goldAssetRecord);
|
walletGoldAssetRecordService.save(goldAssetRecord);
|
||||||
|
|
||||||
// clsService.upload(
|
clsService.upload(
|
||||||
// LogTopic.WALLET_GOLD_ASSET_PROD.getWalletTopic(envProperties.isProd()),
|
LogTopic.WALLET_GOLD_ASSET_PROD.getWalletTopic(envProperties.isProd()),
|
||||||
// walletGoldAssetRecordInfraConvertor.toWalletGoldAssetRecordLog(goldAssetRecord));
|
walletGoldAssetRecordInfraConvertor.toWalletGoldAssetRecordLog(goldAssetRecord));
|
||||||
|
|
||||||
} catch (DuplicateKeyException ignore) {
|
} catch (DuplicateKeyException ignore) {
|
||||||
// ignore
|
// ignore
|
||||||
|
|||||||
@ -54,9 +54,9 @@
|
|||||||
<appender name="sls-develop" class="com.tencentcloudapi.cls.LoghubAppender">
|
<appender name="sls-develop" class="com.tencentcloudapi.cls.LoghubAppender">
|
||||||
<!--必选项-->
|
<!--必选项-->
|
||||||
<endpoint>ap-singapore.cls.tencentcs.com</endpoint>
|
<endpoint>ap-singapore.cls.tencentcs.com</endpoint>
|
||||||
<accessKeyId>AKIDSnx10rZK4d6NTRGtIYbPQFuLcp3CB0nR</accessKeyId>
|
<accessKeyId>IKID1pNfgOmrc4G8frlNfcEWU7PMkrd4AwNU</accessKeyId>
|
||||||
<accessKeySecret>c5oT2Y8nNnxzongUDlKkCVfjbLvKUXRC</accessKeySecret>
|
<accessKeySecret>oISIp41i7F6fwvby1kCLBivsWqrZ07vV</accessKeySecret>
|
||||||
<topicId>180afe72-b0fe-4502-bbc2-55a8a5193e78</topicId>
|
<topicId>c0e98f37-0dad-480a-9092-67d95fe7a651</topicId>
|
||||||
|
|
||||||
<!-- 可选项 详见 '参数说明'-->
|
<!-- 可选项 详见 '参数说明'-->
|
||||||
<totalSizeInBytes>104857600</totalSizeInBytes>
|
<totalSizeInBytes>104857600</totalSizeInBytes>
|
||||||
@ -84,8 +84,8 @@
|
|||||||
<appender name="sls-prod" class="com.tencentcloudapi.cls.LoghubAppender">
|
<appender name="sls-prod" class="com.tencentcloudapi.cls.LoghubAppender">
|
||||||
<!--必选项-->
|
<!--必选项-->
|
||||||
<endpoint>ap-singapore.cls.tencentcs.com</endpoint>
|
<endpoint>ap-singapore.cls.tencentcs.com</endpoint>
|
||||||
<accessKeyId>AKIDSnx10rZK4d6NTRGtIYbPQFuLcp3CB0nR</accessKeyId>
|
<accessKeyId>IKID1pNfgOmrc4G8frlNfcEWU7PMkrd4AwNU</accessKeyId>
|
||||||
<accessKeySecret>c5oT2Y8nNnxzongUDlKkCVfjbLvKUXRC</accessKeySecret>
|
<accessKeySecret>oISIp41i7F6fwvby1kCLBivsWqrZ07vV</accessKeySecret>
|
||||||
<topicId>4d467d31-9165-42c6-b80a-2ea23ae7777e</topicId>
|
<topicId>4d467d31-9165-42c6-b80a-2ea23ae7777e</topicId>
|
||||||
|
|
||||||
<!-- 可选项 详见 '参数说明'-->
|
<!-- 可选项 详见 '参数说明'-->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user