File tree Expand file tree Collapse file tree 8 files changed +26
-7
lines changed
springboot-starter-data-fast
springboot-starter-id-generator
springboot-starter-security-jwt
main/java/com/codingapi/springboot/framework/trigger
test/java/com/codingapi/springboot/framework/rest Expand file tree Collapse file tree 8 files changed +26
-7
lines changed Original file line number Diff line number Diff line change 1212
1313 <groupId >com.codingapi.springboot</groupId >
1414 <artifactId >springboot-parent</artifactId >
15- <version >1.5.5 </version >
15+ <version >1.5.6 </version >
1616
1717 <url >https://github.com/codingapi/springboot-framewrok</url >
1818 <name >springboot-parent</name >
Original file line number Diff line number Diff line change 55 <parent >
66 <artifactId >springboot-parent</artifactId >
77 <groupId >com.codingapi.springboot</groupId >
8- <version >1.5.5 </version >
8+ <version >1.5.6 </version >
99 </parent >
1010 <modelVersion >4.0.0</modelVersion >
1111
Original file line number Diff line number Diff line change 55 <parent >
66 <artifactId >springboot-parent</artifactId >
77 <groupId >com.codingapi.springboot</groupId >
8- <version >1.5.5 </version >
8+ <version >1.5.6 </version >
99 </parent >
1010 <modelVersion >4.0.0</modelVersion >
1111
Original file line number Diff line number Diff line change 66 <parent >
77 <artifactId >springboot-parent</artifactId >
88 <groupId >com.codingapi.springboot</groupId >
9- <version >1.5.5 </version >
9+ <version >1.5.6 </version >
1010 </parent >
1111
1212 <artifactId >springboot-starter-security-jwt</artifactId >
Original file line number Diff line number Diff line change 55 <parent >
66 <groupId >com.codingapi.springboot</groupId >
77 <artifactId >springboot-parent</artifactId >
8- <version >1.5.5 </version >
8+ <version >1.5.6 </version >
99 </parent >
1010 <artifactId >springboot-starter</artifactId >
1111
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ public void trigger(Trigger trigger){
7777 }
7878 }
7979 }catch (Exception e ){
80- log .warn ("trigger error:{} " ,e );
80+ log .warn ("trigger error" ,e );
8181 }
8282 }
8383 }
Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ public interface TriggerHandler<T extends Trigger> {
2424 * 执行完成以后是否删除触发器
2525 * @return true删除
2626 */
27- boolean remove ();
27+ default boolean remove (){
28+ return false ;
29+ }
2830
2931}
Original file line number Diff line number Diff line change 1+ package com .codingapi .springboot .framework .rest ;
2+
3+ import lombok .extern .slf4j .Slf4j ;
4+ import org .junit .jupiter .api .Test ;
5+
6+ import static org .junit .jupiter .api .Assertions .assertNotNull ;
7+
8+ @ Slf4j
9+ public class SessionClientTest {
10+
11+ @ Test
12+ void test (){
13+ SessionClient client = new SessionClient ();
14+ String html = client .getHtml ("https://www.baidu.com" );
15+ assertNotNull (html );
16+ }
17+ }
You can’t perform that action at this time.
0 commit comments