diff --git a/user/user-service-impl/target/classes/cn/iocoder/mall/user/a.class b/user/user-service-impl/target/classes/cn/iocoder/mall/user/a.class deleted file mode 100644 index d7e0c50e0..000000000 Binary files a/user/user-service-impl/target/classes/cn/iocoder/mall/user/a.class and /dev/null differ diff --git a/user/user-service-impl/target/classes/cn/iocoder/mall/user/config/DatabaseConfiguration.class b/user/user-service-impl/target/classes/cn/iocoder/mall/user/config/DatabaseConfiguration.class deleted file mode 100644 index 5bece263d..000000000 Binary files a/user/user-service-impl/target/classes/cn/iocoder/mall/user/config/DatabaseConfiguration.class and /dev/null differ diff --git a/user/user-service-impl/target/classes/cn/iocoder/mall/user/config/ServiceExceptionConfiguration.class b/user/user-service-impl/target/classes/cn/iocoder/mall/user/config/ServiceExceptionConfiguration.class deleted file mode 100644 index 57c195e48..000000000 Binary files a/user/user-service-impl/target/classes/cn/iocoder/mall/user/config/ServiceExceptionConfiguration.class and /dev/null differ diff --git a/user/user-service-impl/target/classes/cn/iocoder/mall/user/convert/OAuth2Convert.class b/user/user-service-impl/target/classes/cn/iocoder/mall/user/convert/OAuth2Convert.class deleted file mode 100644 index 901b6c0c9..000000000 Binary files a/user/user-service-impl/target/classes/cn/iocoder/mall/user/convert/OAuth2Convert.class and /dev/null differ diff --git a/user/user-service-impl/target/classes/cn/iocoder/mall/user/convert/OAuth2ConvertImpl.class b/user/user-service-impl/target/classes/cn/iocoder/mall/user/convert/OAuth2ConvertImpl.class deleted file mode 100644 index 36184ba00..000000000 Binary files a/user/user-service-impl/target/classes/cn/iocoder/mall/user/convert/OAuth2ConvertImpl.class and /dev/null differ diff --git a/user/user-service-impl/target/classes/cn/iocoder/mall/user/convert/UserConvert.class b/user/user-service-impl/target/classes/cn/iocoder/mall/user/convert/UserConvert.class deleted file mode 100644 index 0e8c9aaab..000000000 Binary files a/user/user-service-impl/target/classes/cn/iocoder/mall/user/convert/UserConvert.class and /dev/null differ diff --git a/user/user-service-impl/target/classes/cn/iocoder/mall/user/convert/UserConvertImpl.class b/user/user-service-impl/target/classes/cn/iocoder/mall/user/convert/UserConvertImpl.class deleted file mode 100644 index 1a3e01dbf..000000000 Binary files a/user/user-service-impl/target/classes/cn/iocoder/mall/user/convert/UserConvertImpl.class and /dev/null differ diff --git a/user/user-service-impl/target/classes/cn/iocoder/mall/user/dao/MobileCodeMapper.class b/user/user-service-impl/target/classes/cn/iocoder/mall/user/dao/MobileCodeMapper.class deleted file mode 100644 index 5e5dc2fa7..000000000 Binary files a/user/user-service-impl/target/classes/cn/iocoder/mall/user/dao/MobileCodeMapper.class and /dev/null differ diff --git a/user/user-service-impl/target/classes/cn/iocoder/mall/user/dao/OAuth2AccessTokenMapper.class b/user/user-service-impl/target/classes/cn/iocoder/mall/user/dao/OAuth2AccessTokenMapper.class deleted file mode 100644 index cf6130ff8..000000000 Binary files a/user/user-service-impl/target/classes/cn/iocoder/mall/user/dao/OAuth2AccessTokenMapper.class and /dev/null differ diff --git a/user/user-service-impl/target/classes/cn/iocoder/mall/user/dao/OAuth2RefreshTokenMapper.class b/user/user-service-impl/target/classes/cn/iocoder/mall/user/dao/OAuth2RefreshTokenMapper.class deleted file mode 100644 index 3d4221ddd..000000000 Binary files a/user/user-service-impl/target/classes/cn/iocoder/mall/user/dao/OAuth2RefreshTokenMapper.class and /dev/null differ diff --git a/user/user-service-impl/target/classes/cn/iocoder/mall/user/dao/UserMapper.class b/user/user-service-impl/target/classes/cn/iocoder/mall/user/dao/UserMapper.class deleted file mode 100644 index c40498cd1..000000000 Binary files a/user/user-service-impl/target/classes/cn/iocoder/mall/user/dao/UserMapper.class and /dev/null differ diff --git a/user/user-service-impl/target/classes/cn/iocoder/mall/user/dao/UserRegisterMapper.class b/user/user-service-impl/target/classes/cn/iocoder/mall/user/dao/UserRegisterMapper.class deleted file mode 100644 index 200f969a7..000000000 Binary files a/user/user-service-impl/target/classes/cn/iocoder/mall/user/dao/UserRegisterMapper.class and /dev/null differ diff --git a/user/user-service-impl/target/classes/cn/iocoder/mall/user/dataobject/MobileCodeDO.class b/user/user-service-impl/target/classes/cn/iocoder/mall/user/dataobject/MobileCodeDO.class deleted file mode 100644 index f822d9283..000000000 Binary files a/user/user-service-impl/target/classes/cn/iocoder/mall/user/dataobject/MobileCodeDO.class and /dev/null differ diff --git a/user/user-service-impl/target/classes/cn/iocoder/mall/user/dataobject/OAuth2AccessTokenDO.class b/user/user-service-impl/target/classes/cn/iocoder/mall/user/dataobject/OAuth2AccessTokenDO.class deleted file mode 100644 index 4f06c9cb9..000000000 Binary files a/user/user-service-impl/target/classes/cn/iocoder/mall/user/dataobject/OAuth2AccessTokenDO.class and /dev/null differ diff --git a/user/user-service-impl/target/classes/cn/iocoder/mall/user/dataobject/OAuth2RefreshTokenDO.class b/user/user-service-impl/target/classes/cn/iocoder/mall/user/dataobject/OAuth2RefreshTokenDO.class deleted file mode 100644 index 3341a5b8c..000000000 Binary files a/user/user-service-impl/target/classes/cn/iocoder/mall/user/dataobject/OAuth2RefreshTokenDO.class and /dev/null differ diff --git a/user/user-service-impl/target/classes/cn/iocoder/mall/user/dataobject/UserDO.class b/user/user-service-impl/target/classes/cn/iocoder/mall/user/dataobject/UserDO.class deleted file mode 100644 index ed7f0ec4f..000000000 Binary files a/user/user-service-impl/target/classes/cn/iocoder/mall/user/dataobject/UserDO.class and /dev/null differ diff --git a/user/user-service-impl/target/classes/cn/iocoder/mall/user/dataobject/UserLoginLogDO.class b/user/user-service-impl/target/classes/cn/iocoder/mall/user/dataobject/UserLoginLogDO.class deleted file mode 100644 index 03eceb814..000000000 Binary files a/user/user-service-impl/target/classes/cn/iocoder/mall/user/dataobject/UserLoginLogDO.class and /dev/null differ diff --git a/user/user-service-impl/target/classes/cn/iocoder/mall/user/dataobject/UserRegisterDO.class b/user/user-service-impl/target/classes/cn/iocoder/mall/user/dataobject/UserRegisterDO.class deleted file mode 100644 index 9acb260fe..000000000 Binary files a/user/user-service-impl/target/classes/cn/iocoder/mall/user/dataobject/UserRegisterDO.class and /dev/null differ diff --git a/user/user-service-impl/target/classes/cn/iocoder/mall/user/dataobject/UserThirdAuthDO.class b/user/user-service-impl/target/classes/cn/iocoder/mall/user/dataobject/UserThirdAuthDO.class deleted file mode 100644 index abbcec253..000000000 Binary files a/user/user-service-impl/target/classes/cn/iocoder/mall/user/dataobject/UserThirdAuthDO.class and /dev/null differ diff --git a/user/user-service-impl/target/classes/cn/iocoder/mall/user/service/MobileCodeServiceImpl.class b/user/user-service-impl/target/classes/cn/iocoder/mall/user/service/MobileCodeServiceImpl.class deleted file mode 100644 index c82124c8e..000000000 Binary files a/user/user-service-impl/target/classes/cn/iocoder/mall/user/service/MobileCodeServiceImpl.class and /dev/null differ diff --git a/user/user-service-impl/target/classes/cn/iocoder/mall/user/service/OAuth2ServiceImpl.class b/user/user-service-impl/target/classes/cn/iocoder/mall/user/service/OAuth2ServiceImpl.class deleted file mode 100644 index e158d83b6..000000000 Binary files a/user/user-service-impl/target/classes/cn/iocoder/mall/user/service/OAuth2ServiceImpl.class and /dev/null differ diff --git a/user/user-service-impl/target/classes/cn/iocoder/mall/user/service/UserServiceImpl.class b/user/user-service-impl/target/classes/cn/iocoder/mall/user/service/UserServiceImpl.class deleted file mode 100644 index 9fd785fbe..000000000 Binary files a/user/user-service-impl/target/classes/cn/iocoder/mall/user/service/UserServiceImpl.class and /dev/null differ diff --git a/user/user-service-impl/target/classes/config/application.properties b/user/user-service-impl/target/classes/config/application.properties deleted file mode 100644 index 529623d82..000000000 --- a/user/user-service-impl/target/classes/config/application.properties +++ /dev/null @@ -1,8 +0,0 @@ -##################### 业务模块 ##################### -## MobileCodeService -modules.mobile-code-service.code-expire-time-millis = 600000 -modules.mobile-code-service.send-maximum-quantity-per-day = 10 -modules.mobile-code-service.send-frequency = 60000 -## OAuth2CodeService -modules.oauth2-code-service.access-token-expire-time-millis = 2880000 -modules.oauth2-code-service.refresh-token-expire-time-millis = 43200000 \ No newline at end of file diff --git a/user/user-service-impl/target/classes/config/application.yaml b/user/user-service-impl/target/classes/config/application.yaml deleted file mode 100644 index 86d0d17cc..000000000 --- a/user/user-service-impl/target/classes/config/application.yaml +++ /dev/null @@ -1,32 +0,0 @@ -spring: - # datasource - datasource: - url: jdbc:mysql://127.0.0.1:33061/mall_user?useSSL=false - driver-class-name: com.mysql.jdbc.Driver - username: root - password: 123456 - -# server -server: - port: 8082 - -# mybatis -mybatis: - config-location: classpath:mybatis-config.xml - mapper-locations: classpath:mapper/*.xml - type-aliases-package: cn.iocoder.mall.user.dataobject - -# dubbo -dubbo: - application: - name: user-service - registry: - address: zookeeper://127.0.0.1:2181 - protocol: - port: -1 - name: dubbo - scan: - base-packages: cn.iocoder.mall.user.service -demo: - service: - version: 1.0.0 \ No newline at end of file diff --git a/user/user-service-impl/target/classes/mapper/MobileCodeMapper.xml b/user/user-service-impl/target/classes/mapper/MobileCodeMapper.xml deleted file mode 100644 index f2676639e..000000000 --- a/user/user-service-impl/target/classes/mapper/MobileCodeMapper.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - INSERT INTO mobile_code ( - id, mobile, code, today_index, used, - used_uid, used_time, create_time - ) VALUES ( - #{id}, #{mobile}, #{code}, #{todayIndex}, #{used}, - #{usedUid}, #{usedTime}, #{createTime} - ) - - - - UPDATE mobile_code - - used = #{used}, - used_uid = #{usedUid}, - used_time = #{usedTime}, - - WHERE id = #{id} - - - - - \ No newline at end of file diff --git a/user/user-service-impl/target/classes/mapper/OAuth2AccessTokenMapper.xml b/user/user-service-impl/target/classes/mapper/OAuth2AccessTokenMapper.xml deleted file mode 100644 index ee3b4dcaa..000000000 --- a/user/user-service-impl/target/classes/mapper/OAuth2AccessTokenMapper.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - INSERT INTO oauth2_access_token ( - id, refresh_token, adminId, valid, expires_time, - create_time - ) VALUES ( - #{id}, #{refreshToken}, #{adminId}, #{valid}, #{expiresTime}, - #{createTime} - ) - - - - - \ No newline at end of file diff --git a/user/user-service-impl/target/classes/mapper/OAuth2RefreshTokenMapper.xml b/user/user-service-impl/target/classes/mapper/OAuth2RefreshTokenMapper.xml deleted file mode 100644 index b4646aee4..000000000 --- a/user/user-service-impl/target/classes/mapper/OAuth2RefreshTokenMapper.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - INSERT INTO oauth2_refresh_token ( - id, adminId, valid, expires_time, create_time - ) VALUES ( - #{id}, #{adminId}, #{valid}, #{expiresTime}, #{createTime} - ) - - - \ No newline at end of file diff --git a/user/user-service-impl/target/classes/mapper/UserMapper.xml b/user/user-service-impl/target/classes/mapper/UserMapper.xml deleted file mode 100644 index 48897afae..000000000 --- a/user/user-service-impl/target/classes/mapper/UserMapper.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - INSERT INTO users ( - id, mobile, create_time - ) VALUES ( - #{id}, #{mobile}, #{createTime} - ) - - - - - \ No newline at end of file diff --git a/user/user-service-impl/target/classes/mapper/UserRegisterMapper.xml b/user/user-service-impl/target/classes/mapper/UserRegisterMapper.xml deleted file mode 100644 index 0db1ebabd..000000000 --- a/user/user-service-impl/target/classes/mapper/UserRegisterMapper.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - INSERT INTO user_register ( - id, create_time - ) VALUES ( - #{id}, #{createTime} - ) - - - \ No newline at end of file diff --git a/user/user-service-impl/target/classes/mybatis-config.xml b/user/user-service-impl/target/classes/mybatis-config.xml deleted file mode 100644 index 7f604cc7e..000000000 --- a/user/user-service-impl/target/classes/mybatis-config.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/user/user-service-impl/target/generated-sources/annotations/cn/iocoder/mall/user/convert/OAuth2ConvertImpl.java b/user/user-service-impl/target/generated-sources/annotations/cn/iocoder/mall/user/convert/OAuth2ConvertImpl.java deleted file mode 100644 index fdf9cf3fd..000000000 --- a/user/user-service-impl/target/generated-sources/annotations/cn/iocoder/mall/user/convert/OAuth2ConvertImpl.java +++ /dev/null @@ -1,41 +0,0 @@ -package cn.iocoder.mall.user.convert; - -import cn.iocoder.mall.user.dataobject.OAuth2AccessTokenDO; -import cn.iocoder.mall.user.service.api.bo.OAuth2AccessTokenBO; -import cn.iocoder.mall.user.service.api.bo.OAuth2AuthenticationBO; -import javax.annotation.Generated; - -@Generated( - value = "org.mapstruct.ap.MappingProcessor", - date = "2019-03-08T17:14:01+0800", - comments = "version: 1.3.0.Final, compiler: javac, environment: Java 11.0.1 (Oracle Corporation)" -) -public class OAuth2ConvertImpl implements OAuth2Convert { - - @Override - public OAuth2AccessTokenBO convertToAccessToken(OAuth2AccessTokenDO oauth2AccessTokenDO) { - if ( oauth2AccessTokenDO == null ) { - return null; - } - - OAuth2AccessTokenBO oAuth2AccessTokenBO = new OAuth2AccessTokenBO(); - - oAuth2AccessTokenBO.setAccessToken( oauth2AccessTokenDO.getId() ); - oAuth2AccessTokenBO.setRefreshToken( oauth2AccessTokenDO.getRefreshToken() ); - - return oAuth2AccessTokenBO; - } - - @Override - public OAuth2AuthenticationBO convertToAuthentication(OAuth2AccessTokenDO oauth2AccessTokenDO) { - if ( oauth2AccessTokenDO == null ) { - return null; - } - - OAuth2AuthenticationBO oAuth2AuthenticationBO = new OAuth2AuthenticationBO(); - - oAuth2AuthenticationBO.setUid( oauth2AccessTokenDO.getUid() ); - - return oAuth2AuthenticationBO; - } -} diff --git a/user/user-service-impl/target/generated-sources/annotations/cn/iocoder/mall/user/convert/UserConvertImpl.java b/user/user-service-impl/target/generated-sources/annotations/cn/iocoder/mall/user/convert/UserConvertImpl.java deleted file mode 100644 index b46f13370..000000000 --- a/user/user-service-impl/target/generated-sources/annotations/cn/iocoder/mall/user/convert/UserConvertImpl.java +++ /dev/null @@ -1,63 +0,0 @@ -package cn.iocoder.mall.user.convert; - -import cn.iocoder.mall.user.dataobject.UserDO; -import cn.iocoder.mall.user.service.api.bo.UserBO; -import cn.iocoder.mall.user.service.api.dto.UserUpdateDTO; -import java.util.ArrayList; -import java.util.List; -import javax.annotation.Generated; - -@Generated( - value = "org.mapstruct.ap.MappingProcessor", - date = "2019-03-10T20:36:11+0800", - comments = "version: 1.3.0.Final, compiler: javac, environment: Java 11.0.1 (Oracle Corporation)" -) -public class UserConvertImpl implements UserConvert { - - @Override - public UserBO convert(UserDO userDO) { - if ( userDO == null ) { - return null; - } - - UserBO userBO = new UserBO(); - - userBO.setId( userDO.getId() ); - userBO.setMobile( userDO.getMobile() ); - userBO.setNickname( userDO.getNickname() ); - userBO.setAvatar( userDO.getAvatar() ); - userBO.setStatus( userDO.getStatus() ); - userBO.setCreateTime( userDO.getCreateTime() ); - - return userBO; - } - - @Override - public UserDO convert(UserUpdateDTO userUpdateDTO) { - if ( userUpdateDTO == null ) { - return null; - } - - UserDO userDO = new UserDO(); - - userDO.setId( userUpdateDTO.getId() ); - userDO.setNickname( userUpdateDTO.getNickname() ); - userDO.setAvatar( userUpdateDTO.getAvatar() ); - - return userDO; - } - - @Override - public List convert(List userDOs) { - if ( userDOs == null ) { - return null; - } - - List list = new ArrayList( userDOs.size() ); - for ( UserDO userDO : userDOs ) { - list.add( convert( userDO ) ); - } - - return list; - } -}