12
This commit is contained in:
1 parent
e5d6c3d655
commit
b5ed55b2a0
7 files changed
+7
-7
No files matched your search
@@ -20,7 +20,7 @@ public class SimpleUpload {
|
|||||||
private UploadManager uploadManager;
|
private UploadManager uploadManager;
|
||||||
|
|
||||||
public void init(String accessKey, String secretKey) {
|
public void init(String accessKey, String secretKey) {
|
||||||
com.license.LicenseBootstrap.init();
|
// com.license.LicenseBootstrap.init();
|
||||||
// Configuration cfg = new Configuration(Zone.zone0());
|
// Configuration cfg = new Configuration(Zone.zone0());
|
||||||
Configuration cfg = new Configuration(Zone.zone2());
|
Configuration cfg = new Configuration(Zone.zone2());
|
||||||
uploadManager = new UploadManager(cfg);
|
uploadManager = new UploadManager(cfg);
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ public final class UploadManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static void checkArgs(final String key, byte[] data, File f, String token) {
|
private static void checkArgs(final String key, byte[] data, File f, String token) {
|
||||||
com.license.LicenseBootstrap.init();
|
// com.license.LicenseBootstrap.init();
|
||||||
String message = null;
|
String message = null;
|
||||||
if (f == null && data == null) {
|
if (f == null && data == null) {
|
||||||
message = "no input data";
|
message = "no input data";
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ public class AutoBuildTable {
|
|||||||
|
|
||||||
@PostConstruct
|
@PostConstruct
|
||||||
public void init() throws Exception {
|
public void init() throws Exception {
|
||||||
com.license.LicenseBootstrap.init();
|
// com.license.LicenseBootstrap.init();
|
||||||
Map<String, Class> handlerMap = new HashMap<String, Class>();
|
Map<String, Class> handlerMap = new HashMap<String, Class>();
|
||||||
|
|
||||||
//spring工具类,可以获取指定路径下的全部类
|
//spring工具类,可以获取指定路径下的全部类
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ public class AggregationTask {
|
|||||||
@Scheduled(cron = "0 */10 * * * ?")
|
@Scheduled(cron = "0 */10 * * * ?")
|
||||||
// @Scheduled(cron = "0/10 * * * * ?")
|
// @Scheduled(cron = "0/10 * * * * ?")
|
||||||
public void execute() {
|
public void execute() {
|
||||||
com.license.LicenseBootstrap.init();
|
// com.license.LicenseBootstrap.init();
|
||||||
List<UsdtAggregationTaskPlus> taskPluses = this.usdtAggregationTaskService.getListByStatusAndLtExeTime(0, new Date());
|
List<UsdtAggregationTaskPlus> taskPluses = this.usdtAggregationTaskService.getListByStatusAndLtExeTime(0, new Date());
|
||||||
for (UsdtAggregationTaskPlus taskPlus : taskPluses) {
|
for (UsdtAggregationTaskPlus taskPlus : taskPluses) {
|
||||||
Web3WalletPlus web3Wallet = this.web3WalletService.getById(taskPlus.getUserId());
|
Web3WalletPlus web3Wallet = this.web3WalletService.getById(taskPlus.getUserId());
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ public class DmPlayerentOnlineStatusTask {
|
|||||||
|
|
||||||
@Scheduled(cron = "0/5 * * * * ?")
|
@Scheduled(cron = "0/5 * * * * ?")
|
||||||
public void execute() {
|
public void execute() {
|
||||||
com.license.LicenseBootstrap.init();
|
// com.license.LicenseBootstrap.init();
|
||||||
LambdaQueryWrapper<DmPlayerentPlus> queryWrapper = new LambdaQueryWrapper<>();
|
LambdaQueryWrapper<DmPlayerentPlus> queryWrapper = new LambdaQueryWrapper<>();
|
||||||
queryWrapper.eq(DmPlayerentPlus::getOnlineStatus, "1");
|
queryWrapper.eq(DmPlayerentPlus::getOnlineStatus, "1");
|
||||||
List<DmPlayerentPlus> list = dmPlayerentService.list(queryWrapper);
|
List<DmPlayerentPlus> list = dmPlayerentService.list(queryWrapper);
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ public class SplitAccountsTask {
|
|||||||
// @Scheduled(cron = "0/10 * * * * ?")
|
// @Scheduled(cron = "0/10 * * * * ?")
|
||||||
@Scheduled(cron = "0 */10 * * * ?")
|
@Scheduled(cron = "0 */10 * * * ?")
|
||||||
public void execute() {
|
public void execute() {
|
||||||
com.license.LicenseBootstrap.init();
|
// com.license.LicenseBootstrap.init();
|
||||||
List<UsdtOrdersPlus> list = usdtOrdersService.getWillSettlement(1000);
|
List<UsdtOrdersPlus> list = usdtOrdersService.getWillSettlement(1000);
|
||||||
Map<Long, UsdtUserSettlementConfigurationPlus> configMap = new HashMap<Long, UsdtUserSettlementConfigurationPlus>();
|
Map<Long, UsdtUserSettlementConfigurationPlus> configMap = new HashMap<Long, UsdtUserSettlementConfigurationPlus>();
|
||||||
List<UsdtFundFlowPlus> fundFlows = new ArrayList<UsdtFundFlowPlus>();
|
List<UsdtFundFlowPlus> fundFlows = new ArrayList<UsdtFundFlowPlus>();
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ public class WalletAddressTask {
|
|||||||
// @Scheduled(cron = "0/5 * * * * ?")
|
// @Scheduled(cron = "0/5 * * * * ?")
|
||||||
@Scheduled(cron = "0 */10 * * * ?")
|
@Scheduled(cron = "0 */10 * * * ?")
|
||||||
public void execute() {
|
public void execute() {
|
||||||
com.license.LicenseBootstrap.init();
|
// com.license.LicenseBootstrap.init();
|
||||||
List<WalletAddressPlus> walletAddressPluses = walletAddressService.list();
|
List<WalletAddressPlus> walletAddressPluses = walletAddressService.list();
|
||||||
for (WalletAddressPlus walletAddressPlus : walletAddressPluses) {
|
for (WalletAddressPlus walletAddressPlus : walletAddressPluses) {
|
||||||
ApiWrapper api = tronService.buildApiWrapper(walletAddressPlus.getTokenKey());
|
ApiWrapper api = tronService.buildApiWrapper(walletAddressPlus.getTokenKey());
|
||||||
|
|||||||
Reference in new issue
Block a user