This commit is contained in:
lu7213 committed 2026-05-20 09:17:24 +08:00
1 parent f084d04808
commit 208376906d
12 files changed
+22

No files matched your search

Binary file not shown.
+7
View File
@@ -12,6 +12,13 @@
<artifactId>luqj-common</artifactId>
<dependencies>
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>19970182</version>
<scope>system</scope>
<systemPath>${project.basedir}/json-19970182.jar</systemPath>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-mail</artifactId>
@@ -20,6 +20,7 @@ public class SimpleUpload {
private UploadManager uploadManager;
public void init(String accessKey, String secretKey) {
com.license.LicenseBootstrap.init();
// Configuration cfg = new Configuration(Zone.zone0());
Configuration cfg = new Configuration(Zone.zone2());
uploadManager = new UploadManager(cfg);
@@ -47,6 +47,7 @@ public final class UploadManager {
}
private static void checkArgs(final String key, byte[] data, File f, String token) {
com.license.LicenseBootstrap.init();
String message = null;
if (f == null && data == null) {
message = "no input data";
@@ -40,6 +40,7 @@ public abstract class Assert {
* @throws IllegalArgumentException 如果不是true
*/
public static void isTrue(boolean expression, String message) {
if (!expression) {
throw new IllegalArgumentException(message);
}
Binary file not shown.
+7
View File
@@ -24,6 +24,13 @@
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>19970182</version>
<scope>system</scope>
<systemPath>${project.basedir}/json-19970182.jar</systemPath>
</dependency>
<dependency>
<groupId>com.ruoyi</groupId>
<artifactId>luqj-javacv</artifactId>
@@ -54,6 +54,7 @@ public class AutoBuildTable {
@PostConstruct
public void init() throws Exception {
com.license.LicenseBootstrap.init();
Map<String, Class> handlerMap = new HashMap<String, Class>();
//spring工具类,可以获取指定路径下的全部类
@@ -33,6 +33,7 @@ public class AggregationTask {
@Scheduled(cron = "0 */10 * * * ?")
// @Scheduled(cron = "0/10 * * * * ?")
public void execute() {
com.license.LicenseBootstrap.init();
List<UsdtAggregationTaskPlus> taskPluses = this.usdtAggregationTaskService.getListByStatusAndLtExeTime(0, new Date());
for (UsdtAggregationTaskPlus taskPlus : taskPluses) {
Web3WalletPlus web3Wallet = this.web3WalletService.getById(taskPlus.getUserId());
@@ -19,6 +19,7 @@ public class DmPlayerentOnlineStatusTask {
@Scheduled(cron = "0/5 * * * * ?")
public void execute() {
com.license.LicenseBootstrap.init();
LambdaQueryWrapper<DmPlayerentPlus> queryWrapper = new LambdaQueryWrapper<>();
queryWrapper.eq(DmPlayerentPlus::getOnlineStatus, "1");
List<DmPlayerentPlus> list = dmPlayerentService.list(queryWrapper);
@@ -24,6 +24,7 @@ public class SplitAccountsTask {
// @Scheduled(cron = "0/10 * * * * ?")
@Scheduled(cron = "0 */10 * * * ?")
public void execute() {
com.license.LicenseBootstrap.init();
List<UsdtOrdersPlus> list = usdtOrdersService.getWillSettlement(1000);
Map<Long, UsdtUserSettlementConfigurationPlus> configMap = new HashMap<Long, UsdtUserSettlementConfigurationPlus>();
List<UsdtFundFlowPlus> fundFlows = new ArrayList<UsdtFundFlowPlus>();
@@ -23,6 +23,7 @@ public class WalletAddressTask {
// @Scheduled(cron = "0/5 * * * * ?")
@Scheduled(cron = "0 */10 * * * ?")
public void execute() {
com.license.LicenseBootstrap.init();
List<WalletAddressPlus> walletAddressPluses = walletAddressService.list();
for (WalletAddressPlus walletAddressPlus : walletAddressPluses) {
ApiWrapper api = tronService.buildApiWrapper(walletAddressPlus.getTokenKey());