sG|dqlb9W(sDtFh5XNrYgHA%!MX0*@zlVkG6L^Y_KSMw@^uc6*
z68rE1XHK9Wud;oL>(5|_#rZJa#Q_%72VDZY2!1>Ey0nS-ypp3$w0bFv#SClty_8T!
z-DfGWp8#*fNep0+0rVDDQ`?gSTaYT^-<#XdIYDKEpz>h^T`GrUJSAgT#(^B6{}$AC
r{>x+YAeZ|kYK2RzI9Gz$a(s!;GJH8d`ZW97_zQ7G3q$A8o#Foh4V3Dy
diff --git a/planet-common/planet-redis/target/classes/com/xxxx/planet/redis/constant/CacheConsts$CacheEnum.class b/planet-common/planet-redis/target/classes/com/xxxx/planet/redis/constant/CacheConsts$CacheEnum.class
deleted file mode 100644
index aa95fbb9181675cf0a1aa8387abf4f33092e4ed3..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 2011
zcmbVMT~ixn6n-|@%_hqNAr?w#sYp?hpp8}9T0sbnL4qMDX_-+kI!oBX)?}C2Y&zAe
zUie2GFTC+WTd|IgonH4xIX-7M+O)vfA({8%yzlvV&U4PY&;I`734nRjbu6TyVbQ=x
zSkf`6W7)t6N;0j;%?+8#GJPylC5cQDt8plwKQJhNB8O`_stSg0H7Z-TtM%2*+vSz=
zT17#sY&G}oirZ}~FsrU>`{kC^>DV0wS8GkLUA)g<@t|e7c2M-~U8hrQdTuAM+@Khm
zmPP8!{O4vtff{^sU@K4~x0%{q>z-Alm%U;m@Ev!LYVjawDbU;2{f6@`mGqhI
zmD;UJL&3GLP8&LL&uVoA{PkS^)K1j0w@W<3HOIB<-S&>{-?VmGf-v;Hc}Kx|?r28&
z(}K>_yr$LKwtPpz^kStq>|o#9{mk;oU|{>qDY59dPOzk4?wIJ+>QO}1YJOYFvG35@
zn6X*qnW!Lxk>L5ej%%?BsfM%XT0z%mmgBh-UFl9I#LD93@?R<#Yy?*G>kaFm2Ri9=
zw(PbS2v>V{P!EfLCYL`7joDD)rgQ*Zu~Q6+8~?UKaWTU>#4D^N|*Ur8Q~`?QOXJ+?qZTbxH5@wWgg+mRDkq^@I^Vr{{_4b
z1yhu!xysLYh}dt4KZW`;B?WJAPK0-})St#h`k&(2JXf(WGFstxB%VSO{n!ioGdwXP
zEg_WBn;aUO`+=yEM8rd9-*MG>b)hhK{xS5zWG9rw!!rS*hC87p(i375A-HS;`7}`A7^BiS
z#{|bYjyaAP-ex}U;1cI4%4MDi3qyrpkyL+xuKox${u58)eN3!|pdu!QdZ3Eb(GW9B
z{6yp36C8ejg2VOyb9fo=^$-@h3POztQ!kgO-seZ_0aNfk`HRx)H#Q`z{`zhmYkcKc
zfgc6r63F#tjK+(@+RsrL;&;A$;j6AVlP@i$&s84p{UQZQM<|m9s{+gWzXz
zLgK&=;71`|Rt5~GTJqD*JipnU@&5Sv?K^-YJgVYu4Xe0U#r-OF88#ddT}ZAMbB4O7
zwM?B@WSPtuS^+=yMq{VvyyoN6fVmeJdt0F|B?Qi8vIgTH=CS
z%P$n!ecF$bx&4VA`vcjNxt+>$mDy3@%{ECHrx|&!jgmzgNmng(H%q-|%YYaTudY_d
zHrgceH`(FjQbsw$(bYu`N claimsJws;
- try {
- claimsJws = Jwts.parserBuilder()
- .setSigningKey(Keys.hmacShaKeyFor(SECRET.getBytes(StandardCharsets.UTF_8)))
- .build()
- .parseClaimsJws(token);
- // OK, we can trust this JWT
- // 判断该 JWT 是否属于指定系统
- if (Objects.equals(claimsJws.getHeader().get(HEADER_SYSTEM_KEY), systemKey)) {
- return Long.parseLong(claimsJws.getBody().getSubject());
- }
- } catch (JwtException e) {
- log.warn("JWT解析失败:{}", token);
- // don't trust the JWT! token解析失败!
- }
- return null;
- }
-
-}
diff --git a/planet-common/planet-security/src/main/java/com/xxxx/planet/security/auth/UserHolder.java b/planet-common/planet-security/src/main/java/com/xxxx/planet/security/auth/UserHolder.java
deleted file mode 100644
index 47cbbea..0000000
--- a/planet-common/planet-security/src/main/java/com/xxxx/planet/security/auth/UserHolder.java
+++ /dev/null
@@ -1,58 +0,0 @@
-package com.xxxx.planet.security.auth;
-
-import lombok.experimental.UtilityClass;
-
-import java.util.Set;
-
-/**
- * 用户信息 持有类
- */
-@UtilityClass
-public class UserHolder {
-
- /**
- * 当前线程用户ID
- */
- private static final ThreadLocal userIdTL = new ThreadLocal<>();
-
- /**
- * 当前线程管理员ID
- */
- private static final ThreadLocal adminIdTL = new ThreadLocal<>();
-
- /**
- * 当前线程用户权限
- */
- private static final ThreadLocal> authoritiesTL = new ThreadLocal<>();
-
- public void setUserId(Long userId) {
- userIdTL.set(userId);
- }
-
- public Long getUserId() {
- return userIdTL.get();
- }
-
- public void setAdminId(Long adminId) {
- adminIdTL.set(adminId);
- }
-
- public Long getAdminId() {
- return adminIdTL.get();
- }
-
- public void setAuthorities(Set authorities) {
- authoritiesTL.set(authorities);
- }
-
- public Set getAuthoritiesTL() {
- return authoritiesTL.get();
- }
-
- public void clear() {
- userIdTL.remove();
- adminIdTL.remove();
- authoritiesTL.remove();
- }
-
-}
diff --git a/planet-common/planet-security/src/main/java/com/xxxx/planet/security/config/InitPermissionRoles.java b/planet-common/planet-security/src/main/java/com/xxxx/planet/security/config/InitPermissionRoles.java
deleted file mode 100644
index d48bcdf..0000000
--- a/planet-common/planet-security/src/main/java/com/xxxx/planet/security/config/InitPermissionRoles.java
+++ /dev/null
@@ -1,28 +0,0 @@
-package com.xxxx.planet.security.config;
-
-import lombok.AllArgsConstructor;
-import org.springframework.boot.CommandLineRunner;
-import org.springframework.stereotype.Component;
-
-/**
- * Spring容器启动完成时加载权限规则至Redis缓存
- * @author : LJJ
- * @date : 2023/9/24 20:15
- */
-@Component
-@AllArgsConstructor
-public class InitPermissionRoles implements CommandLineRunner {
-
- //private final ISysPermissionService iSysPermissionService;
-
- /**
- * 将菜单url 对应的角色存到redis中,方便需要进行鉴权的时候再从redis中取出来
- * @param args
- * @throws Exception
- */
- @Override
- public void run(String... args) throws Exception {
- //iSysPermissionService.refreshPermRolesRules();
- }
-
-}
diff --git a/planet-common/planet-security/src/main/java/com/xxxx/planet/security/config/WebConfig.java b/planet-common/planet-security/src/main/java/com/xxxx/planet/security/config/WebConfig.java
deleted file mode 100644
index dbcc260..0000000
--- a/planet-common/planet-security/src/main/java/com/xxxx/planet/security/config/WebConfig.java
+++ /dev/null
@@ -1,38 +0,0 @@
-package com.xxxx.planet.security.config;
-
-
-import com.xxxx.planet.security.interceptor.TokenParseInterceptor;
-import lombok.RequiredArgsConstructor;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
-import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
-
-
-/**
- * 配置拦截器到 Spring Web Mvc
- */
-@Configuration
-@RequiredArgsConstructor
-public class WebConfig implements WebMvcConfigurer {
-
- private final TokenParseInterceptor tokenParseInterceptor;
-
- // 导入白名单 url
-
- @Override
- public void addInterceptors(InterceptorRegistry registry) {
-
- System.out.println("初始化webConfig");
-
- // Token 解析拦截器
- registry.addInterceptor(tokenParseInterceptor)
- // 拦截请求
- .addPathPatterns("/**")
- // 放行登录注册相关请求接口
- .excludePathPatterns("/api/front/test/login",
- "/api/front/test/ceshi",
- "/api/front/test/qinchu","/favicon.ico");
-
- }
-
-}
diff --git a/planet-common/planet-security/src/main/java/com/xxxx/planet/security/interceptor/TokenParseInterceptor.java b/planet-common/planet-security/src/main/java/com/xxxx/planet/security/interceptor/TokenParseInterceptor.java
deleted file mode 100644
index b8cd717..0000000
--- a/planet-common/planet-security/src/main/java/com/xxxx/planet/security/interceptor/TokenParseInterceptor.java
+++ /dev/null
@@ -1,91 +0,0 @@
-package com.xxxx.planet.security.interceptor;
-
-
-import com.xxxx.planet.security.auth.JwtUtils;
-import com.xxxx.planet.security.auth.UserHolder;
-import com.xxxx.planet.core.constant.ErrorCodeEnum;
-import com.xxxx.planet.core.exception.BusinessException;
-import lombok.RequiredArgsConstructor;
-import org.springframework.stereotype.Component;
-import org.springframework.util.StringUtils;
-import org.springframework.web.servlet.HandlerInterceptor;
-import org.springframework.web.servlet.ModelAndView;
-
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
-import java.util.Objects;
-
-/**
- * 认证拦截(是否登录拦截,判断token里面的userId是否有效)(如果确实存在这个用户,就放行)
- * 授权拦截不在这里(因为这个项目的管理端是在小程序上,并且例如像 星球主 如果没有开通某个收费业务的话不可以使用完全功能,
- * 所以单独使用注解来进行授权判断的话,可以更细粒度的授权判断
- * ( 2.0版本:将菜单授权(控制层) 和 细粒度授权(方法) 进行分割,使用认证授权模式更容易维护 )
- * Token 解析拦截器
- */
-@Component
-@RequiredArgsConstructor
-public class TokenParseInterceptor implements HandlerInterceptor {
-
- //private final UserInfoCacheManager userInfoCacheManager;
-
- // 直接进行查询操作,不为null时就设置adminId
- // 每次拦截都需要在数据库中查询角色列表,然后存在线程中,方便进行权限判断的时候直接获取,获取菜单url对应的角色的时候就直接从redis中获取
-
- /**
- * handle 执行前调用
- */
- @SuppressWarnings("NullableProblems")
- @Override
- public boolean preHandle(HttpServletRequest request, HttpServletResponse response,
- Object handler) throws Exception {
-
- // 获取登录 JWT
- String token = request.getHeader("Authorization");
-
- // 开始认证
- if (!StringUtils.hasText(token)) {
- // token 为空
- throw new BusinessException(ErrorCodeEnum.USER_LOGIN_EXPIRED);
- }
- Long userId = JwtUtils.parseToken(token, "user");
- if (Objects.isNull(userId)) {
- // token 解析失败
- throw new BusinessException(ErrorCodeEnum.USER_LOGIN_EXPIRED);
- }
- // todo 判断userId对应的数据库信息存不存在
- //UserInfoDto userInfo = userInfoCacheManager.getUser(userId);
- //if (Objects.isNull(userInfo)) {
- // 用户不存在
- //throw new BusinessException(ErrorCodeEnum.USER_ACCOUNT_NOT_EXIST);
- //}
- // 设置 userId 到当前线程 (因为当前用户是在一起的)
- // 设置 adminId 到当前线程
-
- // 设置 用户角色列表 到当前线程
- UserHolder.setUserId(userId);
- return HandlerInterceptor.super.preHandle(request, response, handler);
- }
-
- /**
- * handler 执行后调用,出现异常不调用
- */
- @SuppressWarnings("NullableProblems")
- @Override
- public void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler,
- ModelAndView modelAndView) throws Exception {
- HandlerInterceptor.super.postHandle(request, response, handler, modelAndView);
- }
-
- /**
- * DispatcherServlet 完全处理完请求后调用,出现异常照常调用
- */
- @SuppressWarnings("NullableProblems")
- @Override
- public void afterCompletion(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex)
- throws Exception {
- // 清理当前线程保存的用户数据
- UserHolder.clear();
- HandlerInterceptor.super.afterCompletion(request, response, handler, ex);
- }
-
-}
diff --git a/planet-common/planet-security/target/classes/com/xxxx/planet/security/auth/JwtUtils.class b/planet-common/planet-security/target/classes/com/xxxx/planet/security/auth/JwtUtils.class
deleted file mode 100644
index 89f5678fb8d25d3983ec766f40623c25defede2d..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 3213
zcma)8`F9gl7`-onPMb_wQuZ~-(gh^6(o!gbT~e{M6iF$vC{B|hos!OknF&yF-*<5r
z7hC{wJqOSOt)8R)?Ej&MKfp$$Q`X-u>>kz4w0q`=?(3Y{vH?+>2cb
z?kh)E7`xFOLJ#)HQExf+R^Wc@3n78N5cZ>AiVw)o19I2FFb?6c{2U46K|B=3Q9P_b
z3nPMo5RynqiLT&S7z>b=z=QH*C>W|h0LROb31b*$2&-W!$d=+t7w?m+L)u9#meI^~EaBRQndWL`yJb4AX1e`a
zCZ`L`-4$=`i0?a^IGE^*_Z;0FKS-UlZtAw?>V4L6-4tl5DMISDh*LDrBiBwB3Cw7>
zQnWF<+c5P#x#0ob?$ZV`l#qB*%k*ouA?JBvFlVF$<`e;Wwgf7i5y#bsck3fu?$O;r
zE45d%wPD@WZAT!K)oiCE*F3i(#1d@BjU+RgG3<1mBI5jR!-@?#mU&7aaAgc)6f<~&
z)K`>PbK|Fzde${8lS(ta9Rdp``#6#v_cK-k!P!1d*zWOZ*&&mbaJA&|9xdxdO2J75
zr&ue@^>)KF+#Rfkn%aKG+Z{AWzot8B4aZLNFP3HYbvNed$((JtBQY)K4$>KSziVWq
zN9Eg-nLI=&Vdd9d9T&tKv<(rQ&V8qu^Z?@8Nw0O2r2_C$P9gK7C#)KEy`~
zK34Gw&a3zopD}Y&wf$76_*`210vA+V#3g}cQ}r0MLM5nJgSD*mt^<8HFJJic{MkP)
zUcLF_rEO;zf-hBE##butL90OZM3?S2om@6+*{+`I&B_jBMHK)A8v2;tDF3x+j`?Fg
zqbyp7b2Al9YNlzq(E&Yb_ziBbfm71P*9yK-@h!e%_e|L89T?J+u0YjvCs;y7ihj!o
z%$u(0Qd1eo85t&+ol#Ret%waWPtD5Y3?xJ_XB)X)|>o~I@ODhG$PWMWX`tkYty
zmem|?^SwVEOWGq@*NP?dq^-MDkft3YZ5}Y(L4o?b>0-cJMP1=3k=0~%ReEQ$UC8p9
z(lx@AJNmd5?MJ7&!#bLzLu8pIvgEbqT?|`po984T8k^}=Fk|?C+^ARL5XqBb^?H8#
z=Y)5K)ZS*{$V0e-iS|pM6;XnOzedF%6?q01Ll@d$qLT9>-tC@D9u+ZP#zH95Pvo==
z2h}A|irQfu_YgZ=)}fW+@s8Hyb3NI3Vv&}EIk#DftE+U?kkB{DCJbh}q
zikmQh7tfjctl`ymO0)SCnZ)|P4+Y+ZC2do_a4L2u3)QmeolJxOiV|2`%$#X;9M=5Q
zoh_*6Yi%{3i$N@r$2~_&unyJW9n5h63g@*&^B`uR0(Dr=wGGs;xii4ux>1NoaQzr&
z1W|V#GsjRCKt#EQ^6RJ=MQ9A+0LGvST=8)49Pz(w<#9e&tdUOOUj0Axrqo|x@eU`L7TcBxFX|3zwxSnpd``zb$LhFmCHXf}Bfym~ws3b)@+Lwxf91$`
zb{oekE&BQ`)Zb3YVg&!fZUuM$LqR~n4*o+Z*cl#=&Q@y4=mg{)&HXZ2(uU+dtL_F?
z{EU?cBhedJ^{b~P{V4NRt2~apt42Z(SM
Jr!0WZe*wF4YHeR~o{zV%H{*s=i`w#3}G
ze%swQHtV%-BR>X?p?k)@ic?oOTc0Fv94gE{3|q{1vFQiqr+(+iLrh9&
z>=R>Qpo7BFBo<9C3{!9YtRvkq)sd|W;uRd`_h3-HLNU>SX2y-o74b<`
zVP;7o!|HdWj`@smQcm2Yk%z*C@p9gGhb1kKyH1r-;l>2#R5!_ENm5U`
zWzsekP$BQNjgAy@bpbEz`hjov*fo3NQ{T0w7k1ote7Ri?q_J+#czsUKdspOerS(t3
zcFRN@v(m2DPQso2upfEmu`i8YOug1cwKC42TE=7iSjH1PRj8x`FKsL1yqsS^RbgRF
z<}#jPql`P)P*_caUIo2=w;M**v|e^iq^%zYkKTEvD+`6Y2dt&We_a!Sn0(D^>mK((
ztLEt-2yN}i)cl}lbzpr>7~y!Xa6aY8+zo~L|5b(UN+Dhzy)mAp)SNeBXK%~kD4w$%
z`>Swn*uMB{AUS4#BGU=qQq!^MUh3~xL2865ODh~zj
zTI|GN!hJyQZ_NHetAYR);pb3!Ry4*?P
z)*0twBhhm!(erGqC!55w_#{S2IyDfsidn9|rofxbYKz_8CN1wy0
diff --git a/planet-common/planet-security/target/classes/com/xxxx/planet/security/config/InitPermissionRoles.class b/planet-common/planet-security/target/classes/com/xxxx/planet/security/config/InitPermissionRoles.class
deleted file mode 100644
index c7c9eb8d90d2e979fd37afbad47960b331d41e44..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 686
zcmbVJyKWOf6g}hEUN8;`3790%&?PCD0#X?vp$H_T1)>DGp&GAmHWR!vtJzsdNl8-2AM$ha$>_Op
zr9O$lx^lcXQRp7}nJBE~*2&wpno4+YrgKI%a$lJF!~~oCt6(>t*+$_YFMOph_;gJ`
ziMo-Z4K`lt!n;#j>etT3BMFsl8tdJ$pGz|)nF%G!H<$FHFnD=UNFABpWO$&k{zl@N
zpB##C6tfT$O_xXt&6sjiES)rdEuOoWGezzx|87y1*X(Nw~u9V3X+`+{HcW)WZn)
E4SYYTtpET3
diff --git a/planet-common/planet-security/target/classes/com/xxxx/planet/security/config/WebConfig.class b/planet-common/planet-security/target/classes/com/xxxx/planet/security/config/WebConfig.class
deleted file mode 100644
index 7d3083054d6e6b25524dfe4ab580291049f54110..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 1791
zcmb_dTTc@~6#j-5c3D@!MevT|wHIZ)-#`$#D5fZ(q=xw7b~|lH+g;q9B0Tuun~6UA
z=CjWl#l%E^fd7NPVLZFVQcQ^K)G^9BaNbzIPKQO6}6m&1iC2D))o!!-@pHQZq6Ro-*q&f0z;rd=g`M=UDO
zXBf^nUX?G?!xt;ID-;ieQ}d--;c~-{&$rq=#L#6I3Qc$c!-GV|^GiHf^rc%W`gT>k
z^!(@irN|Sqzf>U)j^`F-iQBI0DO*X;?sw^pj^wyNtJwF!t@hApjp!@3%8Sd>+7{>%`BD2BV+&tn3dS#ti0C#b%f
zWmpN6sFDm`jnI2DkwDVpv!sq9jf7n#g?m~oGiYHssY)nMqQ0?7*{D<|w;yebs-t|`
zT+s}#|6kDeZMRSneiPnMvSp@G(roJ%sHY#p^iGhA!0K1ltgXuQQf0bS6;BgST4=hX
z1bW1>Q>hiiX2-EaGKT@W&%42}mtHHZA-eP1XuJ=-)c4Ws720V8-24n?wXGtSPJKaq
z747jK=vatZT6Pt>Rv&j}7vh$YU1+yp_dL(@UUvWd``6zA+(xktA9mm)OcG?*t4}*}PY_j_7Aq$RL3W
zcs}$UacnuR;C`N0gy&o9-T`-4Z9m|Pwb@Aq-H)I%+-wRy;>ghE^N0sSb788C>85?9
zrZ4G8H5=$NB!xuSxR?{Z;}!{JYe>p378owp9nE@bEtL~?{$RiC?&$Q()L
z4#}-!jSenxvF{Z~0lUme7E;crc!7BC;_sR>`L8a{dVbLgDw5KkL~-c(2i76qjiYLb
z++Uh;3!4rFw1o_45P1Rfg;J?BdT*=xk5opQZO9<4>W7ejeVflB=`}-r8)=J
zmdV3Yj_ZhNhL(QG+{k$$h3>o~!@u|3;2o9sFr?Q)S2$(9=>!fX$BgTG!d8A~7(7?7
zfHdKrIIeI@O5?fQ6%=EsnUEsHcfM7pb>vK}V?)QLiHF!?7(1J1dC%t-e;#JmY#319
z20_e9$F_+__`<|3d`a0YV_3&mCcegwj>jf!?CQvyD1e*j!D}W4F=S#7<0eL7$#dfj
z6KC)J_xVj>UvoxOXc%ra3&SWS{JJ{PU?)mShR&L4nTZTNwTV~*h8uFWY2~DPTjXMa
z+XYSqqA!Zls6teWz(8H##C75Nd0ax_l&omW26ZXZsq_Tv{76vvooAU!@6cJ1m2>k{
zJ%sHFE93hfH2RCit@NB9
z>Sn(nk-&tO)=ts#13G_$w*51bCusd6t##|CXq!l;lc#9^zHyDFjKQJdkrQX&Mm@^x`rhl)bm;R6_Nx
z;%%~PU<%iWi$<2N(GBk*iR-l9iNrHp(Q)G$F6*>*ljbDLehg4A)j}pg#(=Bzr=mu%
zBJz*PK$7MZ{Iqrg^Cuc56ahnBokcsA6wuqz&KRf>12tlx2HhZml0^(-gg`Vx>CzgY
z3@bQPsH$*^RXC|rq@Yx15PeRQCS3w;Qz#TDQg3Mv7$L-EQKdF~To$MZ3I|SJ$KAT@+L71WkDtW}
z#DO2ck3x($MGaDVV5ObWn;E~EH}#
z(ZVvrlmFdo8xOj8h;7=?)l%Q5CrWyT!L_<(O6FA1b8r>iPTHTloMA4?GG1^WyNd-|
zvV@~NCUU9Lbf|AK!h8F
zRtVoDl5qHWO$Ky&jlp*;eY!dyQ3hD2s@@z&hZt8WzD9qG5eU<)*S3cZ^5NKR@^^qg
Dj3VeF
diff --git a/planet-gateway/target/classes/com/xxxx/planet/gateway/config/PlanetCorsConfig.class b/planet-gateway/target/classes/com/xxxx/planet/gateway/config/PlanetCorsConfig.class
deleted file mode 100644
index 310e21aebc813282379333d89a91dd4fb251d58f..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 1546
zcmb7E+foxj5IqwD8^a-!SfW_?Hpvdj;<8KaP5}SI57C!k
zNtGYqM_Kl4LWn}8a8uR2(|h`KPtTeB`u*c4fH~yiNMOvsgE%4>i{YX6$rw`Fr?tt%
zF^&oSHfeyz(Wzlm+D{vpiK82{2IdSrV(3`5U0Xe6XiKKH7^175B^kQ&wkuy(_6pK}
zCkhTl5_zvEoGszodR-4jRoM<0rt?K_j~~&)_Z{I%#Y;lTL-CmxJ$J`0@i$>~)$@bZ
zFtEhXRixDiS$JVPO8N}hWGe6ZB_8biwp-fq#hyI${7?K)7Kp_UxGzOf*$0wqnnofq
zb<~P5OtmIBD_`-2vOSk_`)axMz@}I6i?r95t%(|)y!V})2&8q6xkg0%LvJgtviIbc
z9oRIs71#AtSevFcabXo|NXa9`MFYxnQs`deHC7rJwK(waNGEs2fnb=wENSf^PA6fa
z5B&_2El=RwHmQxWQu~XXJ6arNFHnmMQwvij=8`ns|(?fkhKbST^wlB(}Ad
zg)Tc_5-m?tk!N_$Fnc-5ztp3*y~02O`!D%2^yq1GQgw-M6n14%QAk+UisN{P(%SIt
zlI_xTlKC^-rqaS*(wD3W`br8*%fBhKE>+pH7<$igbDrmr2pEh5;Z)?t4#QybW2%Y0
zj?j`0qze03^`#|AeZnEJ4K}xO3f8?0`LbjObOkRs-L>YVdjA*dt8q!sk%arrC0l1T
z&ih{UW8dFoItC*V9h~v`O@n9iSB_&&ao@kHNl$p9jfygu!lHqj$3gz;z7Kis1%s
z5{XX!f;RdAizkR|AEPawNkpq?&m=mkFhU#4M8D%o74Z{v62e>`PjqFfxO#%_?eSyu
ze5LFNbj4A`$o7#Pz*VZ-Pt|m#QQSrvcQK9Ou$$pp#d getAllUser(HttpServletRequest request) {
- logger.info("开始");
- ResponseResult> responseResult = loginService.getUserAgreement(request);
- logger.info("返回结果 ===>"+String.valueOf(responseResult));
- logger.info("结束");
- return responseResult;
- }
-
- /**
- * 获取隐私政策
- * @param request
- * @return
- */
- @GetMapping("/getPrivacyPolicy")
- public ResponseResult> getPrivacyPolicy(HttpServletRequest request) {
- logger.info("开始");
- ResponseResult> responseResult = loginService.getPrivacyPolicy(request);
- logger.info("返回结果 ===>"+String.valueOf(responseResult));
- logger.info("结束");
- return responseResult;
- }
-}
+//package com.neon.planet.login.controller;
+//
+//import com.neon.planet.core.model.domain.ResponseResult;
+//import com.neon.planet.login.service.LoginService;
+//import lombok.RequiredArgsConstructor;
+//import org.slf4j.Logger;
+//import org.slf4j.LoggerFactory;
+//import org.springframework.web.bind.annotation.GetMapping;
+//import org.springframework.web.bind.annotation.RequestMapping;
+//import org.springframework.web.bind.annotation.RestController;
+//
+//import javax.annotation.Resource;
+//import javax.servlet.http.HttpServletRequest;
+//
+//@RestController
+//@RequestMapping("/login")
+//@RequiredArgsConstructor
+//public class LoginController {
+// /*日志标识*/
+// /*哪个类里面打印的日志*/
+// final Logger logger = LoggerFactory.getLogger(LoginController.class);
+//
+// @Resource
+// private LoginService loginService;
+//
+// /**
+// * 获取用户协议
+// * @param request
+// * @return
+// */
+// @GetMapping("/getUserAgreement")
+// public ResponseResult> getAllUser(HttpServletRequest request) {
+// logger.info("开始");
+// ResponseResult> responseResult = loginService.getUserAgreement(request);
+// logger.info("返回结果 ===>"+String.valueOf(responseResult));
+// logger.info("结束");
+// return responseResult;
+// }
+//
+// /**
+// * 获取隐私政策
+// * @param request
+// * @return
+// */
+// @GetMapping("/getPrivacyPolicy")
+// public ResponseResult> getPrivacyPolicy(HttpServletRequest request) {
+// logger.info("开始");
+// ResponseResult> responseResult = loginService.getPrivacyPolicy(request);
+// logger.info("返回结果 ===>"+String.valueOf(responseResult));
+// logger.info("结束");
+// return responseResult;
+// }
+//}
diff --git a/planet-login/planet-login-service/src/main/java/com/neon/planet/login/dao/entity/PrivacyPolicy.java b/planet-login/planet-login-service/src/main/java/com/neon/planet/login/dao/entity/PrivacyPolicy.java
index af0163a..7c8a8e6 100644
--- a/planet-login/planet-login-service/src/main/java/com/neon/planet/login/dao/entity/PrivacyPolicy.java
+++ b/planet-login/planet-login-service/src/main/java/com/neon/planet/login/dao/entity/PrivacyPolicy.java
@@ -1,17 +1,17 @@
-package com.neon.planet.login.dao.entity;
-
-import com.baomidou.mybatisplus.annotation.TableName;
-import lombok.AllArgsConstructor;
-import lombok.Data;
-import lombok.NoArgsConstructor;
-
-@Data
-@NoArgsConstructor
-@AllArgsConstructor
-@TableName("privacy_policy")
-public class PrivacyPolicy {
-
- private Long PrivateID;
-
- private String PrivateCont;
-}
+//package com.neon.planet.login.dao.entity;
+//
+//import com.baomidou.mybatisplus.annotation.TableName;
+//import lombok.AllArgsConstructor;
+//import lombok.Data;
+//import lombok.NoArgsConstructor;
+//
+//@Data
+//@NoArgsConstructor
+//@AllArgsConstructor
+//@TableName("privacy_policy")
+//public class PrivacyPolicy {
+//
+// private Long PrivateID;
+//
+// private String PrivateCont;
+//}
diff --git a/planet-login/planet-login-service/src/main/java/com/neon/planet/login/dao/entity/UserAgreement.java b/planet-login/planet-login-service/src/main/java/com/neon/planet/login/dao/entity/UserAgreement.java
index 353611e..d10d812 100644
--- a/planet-login/planet-login-service/src/main/java/com/neon/planet/login/dao/entity/UserAgreement.java
+++ b/planet-login/planet-login-service/src/main/java/com/neon/planet/login/dao/entity/UserAgreement.java
@@ -1,17 +1,17 @@
-package com.neon.planet.login.dao.entity;
-
-import com.baomidou.mybatisplus.annotation.TableName;
-import lombok.AllArgsConstructor;
-import lombok.Data;
-import lombok.NoArgsConstructor;
-
-@Data
-@NoArgsConstructor
-@AllArgsConstructor
-@TableName("user_agreement")
-public class UserAgreement {
-
- private Long UserAgreeID;
-
- private String UserAgreeCont;
-}
+//package com.neon.planet.login.dao.entity;
+//
+//import com.baomidou.mybatisplus.annotation.TableName;
+//import lombok.AllArgsConstructor;
+//import lombok.Data;
+//import lombok.NoArgsConstructor;
+//
+//@Data
+//@NoArgsConstructor
+//@AllArgsConstructor
+//@TableName("user_agreement")
+//public class UserAgreement {
+//
+// private Long UserAgreeID;
+//
+// private String UserAgreeCont;
+//}
diff --git a/planet-login/planet-login-service/src/main/java/com/neon/planet/login/dao/mapper/PrivacyPolicyMapper.java b/planet-login/planet-login-service/src/main/java/com/neon/planet/login/dao/mapper/PrivacyPolicyMapper.java
index eb0dab9..7f2be82 100644
--- a/planet-login/planet-login-service/src/main/java/com/neon/planet/login/dao/mapper/PrivacyPolicyMapper.java
+++ b/planet-login/planet-login-service/src/main/java/com/neon/planet/login/dao/mapper/PrivacyPolicyMapper.java
@@ -1,10 +1,10 @@
-package com.neon.planet.login.dao.mapper;
-
-import com.baomidou.mybatisplus.core.mapper.BaseMapper;
-import com.neon.planet.login.dao.entity.PrivacyPolicy;
-import org.apache.ibatis.annotations.Mapper;
-
-
-@Mapper
-public interface PrivacyPolicyMapper extends BaseMapper {
-}
+//package com.neon.planet.login.dao.mapper;
+//
+//import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+//import com.neon.planet.login.dao.entity.PrivacyPolicy;
+//import org.apache.ibatis.annotations.Mapper;
+//
+//
+//@Mapper
+//public interface PrivacyPolicyMapper extends BaseMapper {
+//}
diff --git a/planet-login/planet-login-service/src/main/java/com/neon/planet/login/dao/mapper/UserAgreementMapper.java b/planet-login/planet-login-service/src/main/java/com/neon/planet/login/dao/mapper/UserAgreementMapper.java
index 66564f1..79b2566 100644
--- a/planet-login/planet-login-service/src/main/java/com/neon/planet/login/dao/mapper/UserAgreementMapper.java
+++ b/planet-login/planet-login-service/src/main/java/com/neon/planet/login/dao/mapper/UserAgreementMapper.java
@@ -1,10 +1,10 @@
-package com.neon.planet.login.dao.mapper;
-
-import com.baomidou.mybatisplus.core.mapper.BaseMapper;
-import com.neon.planet.login.dao.entity.UserAgreement;
-import org.apache.ibatis.annotations.Mapper;
-
-
-@Mapper
-public interface UserAgreementMapper extends BaseMapper {
-}
\ No newline at end of file
+//package com.neon.planet.login.dao.mapper;
+//
+//import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+//import com.neon.planet.login.dao.entity.UserAgreement;
+//import org.apache.ibatis.annotations.Mapper;
+//
+//
+//@Mapper
+//public interface UserAgreementMapper extends BaseMapper {
+//}
\ No newline at end of file
diff --git a/planet-login/planet-login-service/src/main/java/com/neon/planet/login/manager/cache/PrivacyPolicyCacheManager.java b/planet-login/planet-login-service/src/main/java/com/neon/planet/login/manager/cache/PrivacyPolicyCacheManager.java
index 6cba463..da3f2c2 100644
--- a/planet-login/planet-login-service/src/main/java/com/neon/planet/login/manager/cache/PrivacyPolicyCacheManager.java
+++ b/planet-login/planet-login-service/src/main/java/com/neon/planet/login/manager/cache/PrivacyPolicyCacheManager.java
@@ -1,49 +1,50 @@
-package com.neon.planet.login.manager.cache;
-
-import com.neon.planet.login.dao.entity.PrivacyPolicy;
-import com.neon.planet.redis.constant.CacheConsts;
-import lombok.RequiredArgsConstructor;
-import org.springframework.cache.annotation.CacheEvict;
-import org.springframework.cache.annotation.Cacheable;
-import org.springframework.data.redis.core.StringRedisTemplate;
-import org.springframework.stereotype.Component;
-
-
-@Component
-@RequiredArgsConstructor
-public class PrivacyPolicyCacheManager {
-
- private final PrivacyPolicy privacyPolicy;
- private final StringRedisTemplate stringRedisTemplate;
-
- @Cacheable(cacheManager = CacheConsts.REDIS_CACHE_MANAGER,
- value = CacheConsts.USER_INFO_CACHE_NAME)
- public PrivacyPolicy getPrivacyPolicy(){
- PrivacyPolicy privacyPolicy = new PrivacyPolicy();
- //user.setId(10);
- //user.setUsername("admin123");
- /*try{
- user = nenoMapper.selectOne(new QueryWrapper().eq("username",username));
- }catch (Exception e){
- throw new BusinessException(ErrorCodeEnum.test_code);
- }*/
- /*if(null==user){
- throw new BusinessException(ErrorCodeEnum.USER_ACCOUNT_NOT_EXIST);
- }*/
- return privacyPolicy;
- }
-
-
- @CacheEvict(cacheManager = CacheConsts.REDIS_CACHE_MANAGER,
- value = CacheConsts.USER_INFO_CACHE_NAME)
- public void evictCache(){
-
- }
-
- @CacheEvict(cacheManager = CacheConsts.REDIS_CACHE_MANAGER,
- value = CacheConsts.USER_INFO_CACHE_NAME)
- public void evictCacheX(String username){
-
- }
-
-}
+//package com.neon.planet.login.manager.cache;
+//
+//import com.neon.planet.login.dao.entity.PrivacyPolicy;
+//import com.neon.planet.redis.constant.CacheConsts;
+//import lombok.RequiredArgsConstructor;
+//import org.springframework.cache.annotation.CacheEvict;
+//import org.springframework.cache.annotation.Cacheable;
+//import org.springframework.data.redis.core.StringRedisTemplate;
+//import org.springframework.stereotype.Component;
+//
+//
+//@Component
+//@RequiredArgsConstructor
+//public class PrivacyPolicyCacheManager {
+//
+// private final PrivacyPolicy privacyPolicy;
+// private final StringRedisTemplate stringRedisTemplate;
+//
+// @Cacheable(cacheManager = CacheConsts.REDIS_CACHE_MANAGER,
+// value = CacheConsts.USER_INFO_CACHE_NAME)
+// public PrivacyPolicy getPrivacyPolicy(){
+// PrivacyPolicy privacyPolicy = new PrivacyPolicy();
+// privacyPolicy.setPrivateCont("13164");
+// //user.setId(10);
+// //user.setUsername("admin123");
+// /*try{
+// user = nenoMapper.selectOne(new QueryWrapper().eq("username",username));
+// }catch (Exception e){
+// throw new BusinessException(ErrorCodeEnum.test_code);
+// }*/
+// /*if(null==user){
+// throw new BusinessException(ErrorCodeEnum.USER_ACCOUNT_NOT_EXIST);
+// }*/
+// return privacyPolicy;
+// }
+//
+//
+// @CacheEvict(cacheManager = CacheConsts.REDIS_CACHE_MANAGER,
+// value = CacheConsts.USER_INFO_CACHE_NAME)
+// public void evictCache(){
+//
+// }
+//
+// @CacheEvict(cacheManager = CacheConsts.REDIS_CACHE_MANAGER,
+// value = CacheConsts.USER_INFO_CACHE_NAME)
+// public void evictCacheX(String username){
+//
+// }
+//
+//}
diff --git a/planet-login/planet-login-service/src/main/java/com/neon/planet/login/manager/cache/UserAgreementCacheManager.java b/planet-login/planet-login-service/src/main/java/com/neon/planet/login/manager/cache/UserAgreementCacheManager.java
index 91ef1f4..41c830c 100644
--- a/planet-login/planet-login-service/src/main/java/com/neon/planet/login/manager/cache/UserAgreementCacheManager.java
+++ b/planet-login/planet-login-service/src/main/java/com/neon/planet/login/manager/cache/UserAgreementCacheManager.java
@@ -1,50 +1,51 @@
-package com.neon.planet.login.manager.cache;
-
-import com.neon.planet.login.dao.entity.UserAgreement;
-import com.neon.planet.login.dao.mapper.UserAgreementMapper;
-import com.neon.planet.redis.constant.CacheConsts;
-import lombok.RequiredArgsConstructor;
-import org.springframework.cache.annotation.CacheEvict;
-import org.springframework.cache.annotation.Cacheable;
-import org.springframework.data.redis.core.StringRedisTemplate;
-import org.springframework.stereotype.Component;
-
-
-@Component
-@RequiredArgsConstructor
-public class UserAgreementCacheManager {
-
- private final UserAgreementMapper userAgreementMapper;
- private final StringRedisTemplate stringRedisTemplate;
-
- @Cacheable(cacheManager = CacheConsts.REDIS_CACHE_MANAGER,
- value = CacheConsts.USER_INFO_CACHE_NAME)
- public UserAgreement getUserAgreement(){
- UserAgreement userAgreement = new UserAgreement();
- //user.setId(10);
- //user.setUsername("admin123");
- /*try{
- user = nenoMapper.selectOne(new QueryWrapper().eq("username",username));
- }catch (Exception e){
- throw new BusinessException(ErrorCodeEnum.test_code);
- }*/
- /*if(null==user){
- throw new BusinessException(ErrorCodeEnum.USER_ACCOUNT_NOT_EXIST);
- }*/
- return userAgreement;
- }
-
-
- @CacheEvict(cacheManager = CacheConsts.REDIS_CACHE_MANAGER,
- value = CacheConsts.USER_INFO_CACHE_NAME)
- public void evictCache(){
-
- }
-
- @CacheEvict(cacheManager = CacheConsts.REDIS_CACHE_MANAGER,
- value = CacheConsts.USER_INFO_CACHE_NAME)
- public void evictCacheX(String username){
-
- }
-
-}
+//package com.neon.planet.login.manager.cache;
+//
+//import com.neon.planet.login.dao.entity.UserAgreement;
+//import com.neon.planet.login.dao.mapper.UserAgreementMapper;
+//import com.neon.planet.redis.constant.CacheConsts;
+//import lombok.RequiredArgsConstructor;
+//import org.springframework.cache.annotation.CacheEvict;
+//import org.springframework.cache.annotation.Cacheable;
+//import org.springframework.data.redis.core.StringRedisTemplate;
+//import org.springframework.stereotype.Component;
+//
+//
+//@Component
+//@RequiredArgsConstructor
+//public class UserAgreementCacheManager {
+//
+// private final UserAgreementMapper userAgreementMapper;
+// private final StringRedisTemplate stringRedisTemplate;
+//
+// @Cacheable(cacheManager = CacheConsts.REDIS_CACHE_MANAGER,
+// value = CacheConsts.USER_INFO_CACHE_NAME)
+// public UserAgreement getUserAgreement(){
+// UserAgreement userAgreement = new UserAgreement();
+// userAgreement.setUserAgreeCont("1214");
+// //user.setId(10);
+// //user.setUsername("admin123");
+// /*try{
+// user = nenoMapper.selectOne(new QueryWrapper().eq("username",username));
+// }catch (Exception e){
+// throw new BusinessException(ErrorCodeEnum.test_code);
+// }*/
+// /*if(null==user){
+// throw new BusinessException(ErrorCodeEnum.USER_ACCOUNT_NOT_EXIST);
+// }*/
+// return userAgreement;
+// }
+//
+//
+// @CacheEvict(cacheManager = CacheConsts.REDIS_CACHE_MANAGER,
+// value = CacheConsts.USER_INFO_CACHE_NAME)
+// public void evictCache(){
+//
+// }
+//
+// @CacheEvict(cacheManager = CacheConsts.REDIS_CACHE_MANAGER,
+// value = CacheConsts.USER_INFO_CACHE_NAME)
+// public void evictCacheX(String username){
+//
+// }
+//
+//}
diff --git a/planet-login/planet-login-service/src/main/java/com/neon/planet/login/service/LoginService.java b/planet-login/planet-login-service/src/main/java/com/neon/planet/login/service/LoginService.java
index c6ae553..c6d79d6 100644
--- a/planet-login/planet-login-service/src/main/java/com/neon/planet/login/service/LoginService.java
+++ b/planet-login/planet-login-service/src/main/java/com/neon/planet/login/service/LoginService.java
@@ -1,13 +1,13 @@
-package com.neon.planet.login.service;
-
-import com.neon.planet.core.model.domain.ResponseResult;
-import org.springframework.stereotype.Service;
-
-import javax.servlet.http.HttpServletRequest;
-
-@Service
-public interface LoginService {
- ResponseResult> getUserAgreement(HttpServletRequest request);
-
- ResponseResult> getPrivacyPolicy(HttpServletRequest request);
-}
+//package com.neon.planet.login.service;
+//
+//import com.neon.planet.core.model.domain.ResponseResult;
+//import org.springframework.stereotype.Service;
+//
+//import javax.servlet.http.HttpServletRequest;
+//
+//@Service
+//public interface LoginService {
+// ResponseResult> getUserAgreement(HttpServletRequest request);
+//
+// ResponseResult> getPrivacyPolicy(HttpServletRequest request);
+//}
diff --git a/planet-login/planet-login-service/src/main/java/com/neon/planet/login/service/impl/LoginServiceImpl.java b/planet-login/planet-login-service/src/main/java/com/neon/planet/login/service/impl/LoginServiceImpl.java
index 953cfb8..ed593f4 100644
--- a/planet-login/planet-login-service/src/main/java/com/neon/planet/login/service/impl/LoginServiceImpl.java
+++ b/planet-login/planet-login-service/src/main/java/com/neon/planet/login/service/impl/LoginServiceImpl.java
@@ -1,53 +1,53 @@
-package com.neon.planet.login.service.impl;
-
-import com.neon.planet.core.model.domain.ResponseResult;
-import com.neon.planet.core.model.factory.ResponseResultFactory;
-import com.neon.planet.login.dao.entity.PrivacyPolicy;
-import com.neon.planet.login.dao.entity.UserAgreement;
-import com.neon.planet.login.manager.cache.PrivacyPolicyCacheManager;
-import com.neon.planet.login.manager.cache.UserAgreementCacheManager;
-import com.neon.planet.login.service.LoginService;
-import lombok.RequiredArgsConstructor;
-import lombok.extern.slf4j.Slf4j;
-import org.springframework.stereotype.Service;
-
-import javax.servlet.http.HttpServletRequest;
-import java.util.HashMap;
-import java.util.Map;
-
-@Slf4j
-@Service
-@RequiredArgsConstructor
-public class LoginServiceImpl implements LoginService {
-
- private final PrivacyPolicyCacheManager privacyPolicyCacheManager;
-
- private final UserAgreementCacheManager userAgreementCacheManager;
- /**
- * 获取用户协议
- * @param request
- * @return
- */
- @Override
- public ResponseResult> getUserAgreement(HttpServletRequest request) {
- UserAgreement userAgreement = userAgreementCacheManager.getUserAgreement();
- Map Map = new HashMap<>();
- Map.put("userAgreement", userAgreement.getUserAgreeCont());
- System.out.println(Map);
- return ResponseResultFactory.buildResponseResult(100000,"获取用户协议成功",Map);
- }
-
- /**
- * 获取隐私政策
- * @param request
- * @return
- */
- @Override
- public ResponseResult> getPrivacyPolicy(HttpServletRequest request) {
- PrivacyPolicy privacyPolicy = privacyPolicyCacheManager.getPrivacyPolicy();
- Map Map = new HashMap<>();
- Map.put("privacyPolicy", privacyPolicy.getPrivateCont());
- System.out.println(Map);
- return ResponseResultFactory.buildResponseResult(100000,"获取隐私政策成功",Map);
- }
-}
+//package com.neon.planet.login.service.impl;
+//
+//import com.neon.planet.core.model.domain.ResponseResult;
+//import com.neon.planet.core.model.factory.ResponseResultFactory;
+//import com.neon.planet.login.dao.entity.PrivacyPolicy;
+//import com.neon.planet.login.dao.entity.UserAgreement;
+//import com.neon.planet.login.manager.cache.PrivacyPolicyCacheManager;
+//import com.neon.planet.login.manager.cache.UserAgreementCacheManager;
+//import com.neon.planet.login.service.LoginService;
+//import lombok.RequiredArgsConstructor;
+//import lombok.extern.slf4j.Slf4j;
+//import org.springframework.stereotype.Service;
+//
+//import javax.servlet.http.HttpServletRequest;
+//import java.util.HashMap;
+//import java.util.Map;
+//
+//@Slf4j
+//@Service
+//@RequiredArgsConstructor
+//public class LoginServiceImpl implements LoginService {
+//
+// private final PrivacyPolicyCacheManager privacyPolicyCacheManager;
+//
+// private final UserAgreementCacheManager userAgreementCacheManager;
+// /**
+// * 获取用户协议
+// * @param request
+// * @return
+// */
+// @Override
+// public ResponseResult> getUserAgreement(HttpServletRequest request) {
+// UserAgreement userAgreement = userAgreementCacheManager.getUserAgreement();
+// Map Map = new HashMap<>();
+// Map.put("userAgreement", userAgreement.getUserAgreeCont());
+// System.out.println(Map);
+// return ResponseResultFactory.buildResponseResult(100000,"获取用户协议成功",Map);
+// }
+//
+// /**
+// * 获取隐私政策
+// * @param request
+// * @return
+// */
+// @Override
+// public ResponseResult> getPrivacyPolicy(HttpServletRequest request) {
+// PrivacyPolicy privacyPolicy = privacyPolicyCacheManager.getPrivacyPolicy();
+// Map Map = new HashMap<>();
+// Map.put("privacyPolicy", privacyPolicy.getPrivateCont());
+// System.out.println(Map);
+// return ResponseResultFactory.buildResponseResult(100000,"获取隐私政策成功",Map);
+// }
+//}
diff --git a/planet-login/planet-login-service/target/classes/application-dev.yml b/planet-login/planet-login-service/target/classes/application-dev.yml
index b31d825..f6c1a32 100644
--- a/planet-login/planet-login-service/target/classes/application-dev.yml
+++ b/planet-login/planet-login-service/target/classes/application-dev.yml
@@ -5,7 +5,7 @@ spring:
name: login-service
# 连接池配置
datasource:
- url: jdbc:mysql://192.168.242.129:3306/store_user?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useUnicode=true&useSSL=false
+ url: jdbc:mysql://192.168.242.129:3306/neon_planet?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useUnicode=true&useSSL=false
username: root
password: 123456
driver-class-name: com.mysql.cj.jdbc.Driver
diff --git a/planet-login/planet-login-service/target/classes/com/neon/planet/login/controller/SendMessageController.class b/planet-login/planet-login-service/target/classes/com/neon/planet/login/controller/SendMessageController.class
index e1b8a2806d3c462f94944cbe99a578f22f0d0244..701e94f8133f551ca6bd7e0e02adfcd995f44459 100644
GIT binary patch
delta 51
zcmbOtFhyX46uY7f13QB(0~doFgBXK65GpWeF(@*aGAJ=PFsLy2GN?|rX76VdoqU?z
F69BY(2e$wK
delta 51
zcmbOtFhyX46uY7X13QBx0~do7gBXJ}gFJ%_gBF7PWNY?*M#0Ia
G**yWUn+J~o
diff --git a/planet-test/planet-test-api/src/main/java/com/xxxx/planet/test/feign/TestFeign.java b/planet-test/planet-test-api/src/main/java/com/xxxx/planet/test/feign/TestFeign.java
deleted file mode 100644
index f5b7ce6..0000000
--- a/planet-test/planet-test-api/src/main/java/com/xxxx/planet/test/feign/TestFeign.java
+++ /dev/null
@@ -1,43 +0,0 @@
-package com.xxxx.planet.test.feign;
-
-import com.xxxx.planet.core.model.domain.RestResp;
-import com.xxxx.planet.test.model.dto.User;
-import org.springframework.cloud.openfeign.FeignClient;
-import org.springframework.stereotype.Component;;
-import org.springframework.web.bind.annotation.PostMapping;
-import org.springframework.web.bind.annotation.RequestBody;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.RequestMethod;
-
-import java.util.HashMap;
-import java.util.Map;
-
-/**
- * 测试微服务调用客户端
- * @author : LJJ
- * @date : 2023/9/23 19:21
- */
-@Component
-@FeignClient(value = "planet-test-service",fallback = TestFeign.TestFeignFallback.class)
-public interface TestFeign {
-
- /**
- * 测试登录
- */
- //@RequestMapping(value = "/api/front/test/login",method = RequestMethod.POST)
- @PostMapping(value = "/api/front/test/login")
- RestResp