File tree Expand file tree Collapse file tree 6 files changed +21
-5
lines changed
springboot-starter-data-permission
springboot-starter-security-jwt
src/main/java/com/codingapi/springboot/framework/serializable Expand file tree Collapse file tree 6 files changed +21
-5
lines changed Original file line number Diff line number Diff line change 1111
1212 <groupId >com.codingapi.springboot</groupId >
1313 <artifactId >springboot-parent</artifactId >
14- <version >0 .1.2 </version >
14+ <version >1 .1.0 </version >
1515
1616 <url >https://github.com/codingapi/springboot-framewrok</url >
1717 <name >springboot-parent</name >
Original file line number Diff line number Diff line change 44 <parent >
55 <groupId >com.codingapi.springboot</groupId >
66 <artifactId >springboot-parent</artifactId >
7- <version >0 .1.2 </version >
7+ <version >1 .1.0 </version >
88 </parent >
99 <artifactId >springboot-example</artifactId >
1010
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 >0 .1.2 </version >
9+ <version >1 .1.0 </version >
1010 </parent >
1111
1212
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 >0 .1.2 </version >
9+ <version >1 .1.0 </version >
1010 </parent >
1111
1212 <artifactId >springboot-starter-security-jwt</artifactId >
Original file line number Diff line number Diff line change 44 <parent >
55 <groupId >com.codingapi.springboot</groupId >
66 <artifactId >springboot-parent</artifactId >
7- <version >0 .1.2 </version >
7+ <version >1 .1.0 </version >
88 </parent >
99 <artifactId >springboot-starter</artifactId >
1010
Original file line number Diff line number Diff line change 1+ package com .codingapi .springboot .framework .serializable ;
2+
3+ import com .alibaba .fastjson .JSONObject ;
4+
5+ import java .util .Map ;
6+
7+ /**
8+ * @author lorne
9+ * @since 1.0.0
10+ */
11+ public interface MapSerializable {
12+
13+ default Map <String ,Object > toMap (){
14+ return (Map <String ,Object >) JSONObject .toJSON (this );
15+ }
16+ }
You can’t perform that action at this time.
0 commit comments