Skip to content

Commit a59ae5c

Browse files
committed
去除背景色字段
实例内容添加用户昵称
1 parent db69cdd commit a59ae5c

24 files changed

+225
-142
lines changed

.idea/libraries/Maven__com_google_guava_guava_16_0_1.xml renamed to .idea/libraries/Maven__com_google_guava_guava_20_0.xml

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/libraries/Maven__commons_cli_commons_cli_1_2.xml

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/libraries/Maven__org_apache_curator_curator_recipes_2_8_0.xml renamed to .idea/libraries/Maven__org_apache_curator_curator_recipes_4_0_1.xml

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/libraries/Maven__org_apache_zookeeper_zookeeper_3_4_6.xml renamed to .idea/libraries/Maven__org_apache_zookeeper_zookeeper_3_5_3_beta.xml

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

springboot-dubbo-api/src/main/java/com/lzq/api/dto/AccountResult.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,6 @@ public class AccountResult implements Serializable{
5858
@TableField(value = "user_picture")
5959
@JsonProperty("userPicture")
6060
private String userPicture;
61-
/**
62-
* 背景颜色
63-
*/
64-
@TableField(value = "background_color")
65-
@JsonProperty("backgroundColor")
66-
private String backgroundColor;
6761
/**
6862
* github主键id
6963
*/

springboot-dubbo-api/src/main/java/com/lzq/api/pojo/Account.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,6 @@ public class Account implements Serializable, UserDetails {
6565
@TableField(value = "user_picture")
6666
@JsonProperty("userPicture")
6767
private String userPicture;
68-
/**
69-
* 背景颜色
70-
*/
71-
@TableField(value = "background_color")
72-
@JsonIgnore
73-
private String backgroundColor;
7468
/**
7569
* github主键id
7670
*/

springboot-dubbo-api/src/main/java/com/lzq/api/pojo/Content.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ public class Content implements Serializable {
3434
@TableField(exist = false)
3535
@JsonProperty("exampleName")
3636
private String exampleName;
37+
/**
38+
* 昵称
39+
*/
40+
@TableField(exist = false)
41+
@JsonProperty("name")
42+
private String name;
3743
/**
3844
* 标签
3945
*/

springboot-dubbo-service/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
<dependency>
6767
<groupId>org.apache.curator</groupId>
6868
<artifactId>curator-recipes</artifactId>
69-
<version>2.8.0</version>
69+
<version>4.0.1</version>
7070
</dependency>
7171
<!--zookeeper-->
7272
<dependency>

springboot-dubbo-service/springboot-dubbo-service.iml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,10 @@
104104
<orderEntry type="library" name="Maven: org.yaml:snakeyaml:1.26" level="project" />
105105
<orderEntry type="library" name="Maven: org.apache.curator:curator-framework:4.0.1" level="project" />
106106
<orderEntry type="library" name="Maven: org.apache.curator:curator-client:4.0.1" level="project" />
107-
<orderEntry type="library" name="Maven: org.apache.curator:curator-recipes:2.8.0" level="project" />
108-
<orderEntry type="library" name="Maven: org.apache.zookeeper:zookeeper:3.4.6" level="project" />
109-
<orderEntry type="library" name="Maven: com.google.guava:guava:16.0.1" level="project" />
107+
<orderEntry type="library" name="Maven: org.apache.zookeeper:zookeeper:3.5.3-beta" level="project" />
108+
<orderEntry type="library" name="Maven: commons-cli:commons-cli:1.2" level="project" />
109+
<orderEntry type="library" name="Maven: com.google.guava:guava:20.0" level="project" />
110+
<orderEntry type="library" name="Maven: org.apache.curator:curator-recipes:4.0.1" level="project" />
110111
<orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.30" level="project" />
111112
<orderEntry type="library" name="Maven: log4j:log4j:1.2.17" level="project" />
112113
<orderEntry type="library" name="Maven: jline:jline:0.9.94" level="project" />

springboot-dubbo-service/src/main/java/com/lzq/dubboservice/ServiceApplication.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
package com.lzq.dubboservice;
22

33
import com.ulisesbocchio.jasyptspringboot.annotation.EnableEncryptableProperties;
4+
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
45
import org.springframework.boot.SpringApplication;
56
import org.springframework.boot.autoconfigure.SpringBootApplication;
67
import springfox.documentation.oas.annotations.EnableOpenApi;
78

89
@SpringBootApplication
910
//数据库密码加密注解
1011
@EnableEncryptableProperties
12+
@EnableDubbo
1113
@EnableOpenApi
1214
public class ServiceApplication {
1315

0 commit comments

Comments
 (0)