chore: 简化 package,对于互斥包不再单独命名,例如:data.mp、data.mf,统一为 data

This commit is contained in:
2025-07-04 21:15:28 +08:00
parent 78a7904c2f
commit 223236aad3
59 changed files with 105 additions and 107 deletions

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package top.continew.license.exception;
package top.continew.starter.license.exception;
import top.continew.starter.core.exception.BaseException;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package top.continew.license.model;
package top.continew.starter.license.model;
import net.lingala.zip4j.ZipFile;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package top.continew.license.model;
package top.continew.starter.license.model;
/**
* config参数

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package top.continew.license.model;
package top.continew.starter.license.model;
import de.schlichtherle.license.AbstractKeyStoreParam;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package top.continew.license.model;
package top.continew.starter.license.model;
import java.io.Serial;
import java.io.Serializable;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package top.continew.license.model;
package top.continew.starter.license.model;
import java.util.Date;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package top.continew.license.model;
package top.continew.starter.license.model;
import java.util.Set;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package top.continew.license.util;
package top.continew.starter.license.util;
import cn.hutool.core.util.ArrayUtil;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package top.continew.license.util;
package top.continew.starter.license.util;
import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.collection.CollectionUtil;
@@ -23,8 +23,8 @@ import cn.hutool.core.io.IoUtil;
import cn.hutool.core.util.StrUtil;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import top.continew.license.exception.LicenseException;
import top.continew.license.model.LicenseExtraModel;
import top.continew.starter.license.exception.LicenseException;
import top.continew.starter.license.model.LicenseExtraModel;
import java.io.*;
import java.net.InetAddress;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package top.continew.license.autoconfigure;
package top.continew.starter.license.autoconfigure;
import jakarta.annotation.PostConstruct;
import org.slf4j.Logger;
@@ -25,7 +25,7 @@ import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import top.continew.license.service.LicenseCreateService;
import top.continew.starter.license.service.LicenseCreateService;
import top.continew.starter.core.constant.PropertiesConstants;
/**

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package top.continew.license.autoconfigure;
package top.continew.starter.license.autoconfigure;
import org.springframework.boot.context.properties.ConfigurationProperties;
import top.continew.starter.core.constant.PropertiesConstants;

View File

@@ -14,11 +14,11 @@
* limitations under the License.
*/
package top.continew.license.manager;
package top.continew.starter.license.manager;
import de.schlichtherle.license.*;
import de.schlichtherle.xml.GenericCertificate;
import top.continew.license.exception.LicenseException;
import top.continew.starter.license.exception.LicenseException;
import java.util.Date;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package top.continew.license.service;
package top.continew.starter.license.service;
import cn.hutool.core.util.IdUtil;
import com.fasterxml.jackson.databind.ObjectMapper;
@@ -22,11 +22,11 @@ import de.schlichtherle.license.*;
import net.lingala.zip4j.ZipFile;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import top.continew.license.exception.LicenseException;
import top.continew.license.manager.ServerLicenseManager;
import top.continew.license.model.*;
import top.continew.license.util.ExecCmdUtil;
import top.continew.license.util.ServerInfoUtils;
import top.continew.starter.license.exception.LicenseException;
import top.continew.starter.license.manager.ServerLicenseManager;
import top.continew.starter.license.model.*;
import top.continew.starter.license.util.ExecCmdUtil;
import top.continew.starter.license.util.ServerInfoUtils;
import javax.security.auth.x500.X500Principal;
import java.io.File;

View File

@@ -1 +1 @@
top.continew.license.autoconfigure.LicenseGenerateAutoConfiguration
top.continew.starter.license.autoconfigure.LicenseGenerateAutoConfiguration

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package top.continew.license.autoconfigure;
package top.continew.starter.license.autoconfigure;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -26,9 +26,9 @@ import org.springframework.context.annotation.DependsOn;
import de.schlichtherle.license.LicenseManager;
import jakarta.annotation.PostConstruct;
import top.continew.license.initializing.LicenseStarterInitializingBean;
import top.continew.license.bean.LicenseInstallerBean;
import top.continew.license.manager.CustomLicenseManager;
import top.continew.starter.license.initializing.LicenseStarterInitializingBean;
import top.continew.starter.license.bean.LicenseInstallerBean;
import top.continew.starter.license.manager.CustomLicenseManager;
import top.continew.starter.core.constant.PropertiesConstants;
/**

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package top.continew.license.autoconfigure;
package top.continew.starter.license.autoconfigure;
import org.springframework.boot.context.properties.ConfigurationProperties;

View File

@@ -14,15 +14,15 @@
* limitations under the License.
*/
package top.continew.license.bean;
package top.continew.starter.license.bean;
import de.schlichtherle.license.LicenseContent;
import de.schlichtherle.license.LicenseManager;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import top.continew.license.autoconfigure.LicenseVerifyProperties;
import top.continew.license.exception.LicenseException;
import top.continew.license.manager.CustomLicenseManager;
import top.continew.starter.license.autoconfigure.LicenseVerifyProperties;
import top.continew.starter.license.exception.LicenseException;
import top.continew.starter.license.manager.CustomLicenseManager;
import java.io.File;
import java.nio.file.Paths;

View File

@@ -14,10 +14,10 @@
* limitations under the License.
*/
package top.continew.license.initializing;
package top.continew.starter.license.initializing;
import org.springframework.beans.factory.InitializingBean;
import top.continew.license.bean.LicenseInstallerBean;
import top.continew.starter.license.bean.LicenseInstallerBean;
/**
* 启动校验 License

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package top.continew.license.manager;
package top.continew.starter.license.manager;
import com.fasterxml.jackson.databind.ObjectMapper;
import de.schlichtherle.license.*;
@@ -22,13 +22,13 @@ import de.schlichtherle.xml.GenericCertificate;
import net.lingala.zip4j.ZipFile;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import top.continew.license.autoconfigure.LicenseVerifyProperties;
import top.continew.license.bean.LicenseInstallerBean;
import top.continew.license.exception.LicenseException;
import top.continew.license.model.ConfigParam;
import top.continew.license.model.CustomKeyStoreParam;
import top.continew.license.model.LicenseExtraModel;
import top.continew.license.util.ServerInfoUtils;
import top.continew.starter.license.autoconfigure.LicenseVerifyProperties;
import top.continew.starter.license.bean.LicenseInstallerBean;
import top.continew.starter.license.exception.LicenseException;
import top.continew.starter.license.model.ConfigParam;
import top.continew.starter.license.model.CustomKeyStoreParam;
import top.continew.starter.license.model.LicenseExtraModel;
import top.continew.starter.license.util.ServerInfoUtils;
import java.io.File;
import java.io.IOException;

View File

@@ -1 +1 @@
top.continew.license.autoconfigure.LicenseVerifyAutoConfiguration
top.continew.starter.license.autoconfigure.LicenseVerifyAutoConfiguration