🔀 合并分支。合并pigx 更改的新特性
This commit is contained in:
commit
d31535f0f2
33 files changed
+137
-96
No files matched your search
+2
-3
@@ -44,13 +44,12 @@ public class ResourceServerConfigurer extends BaseResourceServerConfigurerAdapte
|
||||
}
|
||||
|
||||
/**
|
||||
* 重写抽象类实现,不需要调用feign 获取 userdetils
|
||||
* 重写抽象类实现,不需要调用feign 获取 userDetailsService
|
||||
*
|
||||
* @param resources
|
||||
*/
|
||||
@Override
|
||||
public void configure(ResourceServerSecurityConfigurer resources) {
|
||||
resources.authenticationEntryPoint(resourceAuthExceptionEntryPoint)
|
||||
.accessDeniedHandler(pigAccessDeniedHandler);
|
||||
notGetUser(resources);
|
||||
}
|
||||
}
|
||||
@@ -20,4 +20,7 @@ eureka:
|
||||
prefer-ip-address: true
|
||||
client:
|
||||
service-url:
|
||||
defaultZone: http://pig:pig@lengleng:1025/eureka/
|
||||
defaultZone: http://pig:pig@pigx-eureka:1025/eureka/
|
||||
logging:
|
||||
level:
|
||||
root: info
|
||||
@@ -1,7 +1,5 @@
|
||||
package ${package}.${moduleName}.controller;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import com.baomidou.mybatisplus.plugins.Page;
|
||||
@@ -10,6 +8,7 @@ import com.pig4cloud.pigx.common.core.util.Query;
|
||||
import ${package}.${moduleName}.entity.${className};
|
||||
import ${package}.${moduleName}.service.${className}Service;
|
||||
import com.pig4cloud.pigx.common.core.util.R;
|
||||
import java.util.Map;
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user