Commit ab221255 by whl

修改包名

parent 5761fb99
......@@ -3,39 +3,39 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>com.suvalue</groupId>
<artifactId>suvalue-boot</artifactId>
<groupId>com.bsoft</groupId>
<artifactId>bsoft</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>suvalue-boot-common</artifactId>
<artifactId>bsoft-common</artifactId>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
<version>2.1.6.RELEASE</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.9.9.3</version>
</dependency>
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger2</artifactId>
<version>2.8.0</version>
</dependency>
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger-ui</artifactId>
<version>2.8.0</version>
</dependency>
<dependency>
<groupId>com.auth0</groupId>
<artifactId>java-jwt</artifactId>
<version>3.4.0</version>
</dependency>
</dependencies>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
<version>2.1.6.RELEASE</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.9.9.3</version>
</dependency>
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger2</artifactId>
<version>2.8.0</version>
</dependency>
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger-ui</artifactId>
<version>2.8.0</version>
</dependency>
<dependency>
<groupId>com.auth0</groupId>
<artifactId>java-jwt</artifactId>
<version>3.4.0</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
package com.suvalue.boot.common.base;
package com.bsoft.common.base;
public abstract class BaseServiceImpl<Record> implements BaseService<Record> {
protected abstract BaseMapper getMapper();
......
package com.suvalue.boot.common.base;
package com.bsoft.common.base;
public class BaseServiceMock implements BaseService {
}
package com.suvalue.boot.common.config.redisconfig;
package com.bsoft.common.config.redisconfig;
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.PropertyAccessor;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.suvalue.boot.common.utils.RedisUtil;
import com.bsoft.common.utils.RedisUtil;
import org.springframework.boot.autoconfigure.AutoConfigureAfter;
import org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration;
import org.springframework.context.annotation.Bean;
......
package com.suvalue.boot.common.config.swaggerconfig;
package com.bsoft.common.config.swaggerconfig;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
......@@ -19,7 +19,7 @@ public class SwaggerConfig {
//是否开启swagger,正式环境一般是需要关闭的,可根据springboot的多环境配置进行设置
@Value(value = "${swagger.enabled:false}")
Boolean swaggerEnabled = true;
@Value("${swagger.basePackage:com.suvalue}")
@Value("${swagger.basePackage:com.bsoft.api.controller}")
String basePackage;
@Bean
......
package com.suvalue.boot.common.utils;
package com.bsoft.common.utils;
import sun.misc.BASE64Decoder;
import sun.misc.BASE64Encoder;
......
package com.suvalue.boot.common.utils;
package com.bsoft.common.utils;
import javax.crypto.*;
import javax.crypto.spec.DESKeySpec;
......
package com.suvalue.boot.common.utils;
package com.bsoft.common.utils;
import com.auth0.jwt.JWT;
import com.auth0.jwt.JWTVerifier;
......@@ -16,6 +16,7 @@ public class JWTUtil {
public static String createTokenWithAudience(String sign, String... audiences){
String token="";
token= JWT.create().withAudience(audiences)
.sign(Algorithm.HMAC256(sign));
return token;
......
package com.suvalue.boot.common.utils;
package com.bsoft.common.utils;
import java.sql.*;
import java.util.List;
......
package com.suvalue.boot.common.utils;
package com.bsoft.common.utils;
import java.io.UnsupportedEncodingException;
import java.security.MessageDigest;
......
package com.suvalue.boot.common.utils;
package com.bsoft.common.utils;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.util.CollectionUtils;
......
......@@ -4,8 +4,8 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.suvalue</groupId>
<artifactId>suvalue-boot</artifactId>
<groupId>com.bsoft</groupId>
<artifactId>bsoft</artifactId>
<packaging>pom</packaging>
<version>1.0-SNAPSHOT</version>
<properties>
......@@ -13,7 +13,8 @@
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
<modules>
<module>suvalue-boot-common</module>
<module>bsoft-common</module>
<module>bsoft-api</module>
<module>suvalue-boot-upms</module>
<module>suvalue-boot-ucenter</module>
<module>suvalue-boot-dynamic-datasource</module>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment