diff --git a/backendcloud/backend/src/main/java/com/kob/backend/service/impl/user/account/RegisterServiceImpl.java b/backendcloud/backend/src/main/java/com/kob/backend/service/impl/user/account/RegisterServiceImpl.java index 57de7c9..a379c9a 100644 --- a/backendcloud/backend/src/main/java/com/kob/backend/service/impl/user/account/RegisterServiceImpl.java +++ b/backendcloud/backend/src/main/java/com/kob/backend/service/impl/user/account/RegisterServiceImpl.java @@ -74,7 +74,7 @@ public class RegisterServiceImpl implements RegisterService { // 对密码进行加密 String encodedPassword = new BCryptPasswordEncoder().encode(password); // 默认头像 - String photo = "https://typoraflykhan.oss-cn-beijing.aliyuncs.com/202302251824054.png"; + String photo = "https://typoraflykhan.oss-cn-beijing.aliyuncs.com/202303102059268.png"; // id 是数据库自增,这里生成新用户只需要将 id 参数写为 null 即可 User user = new User(null, username, encodedPassword, photo, 1500); userMapper.insert(user); diff --git a/web/src/App.vue b/web/src/App.vue index f62dacb..05ce12c 100644 --- a/web/src/App.vue +++ b/web/src/App.vue @@ -65,7 +65,7 @@ export default { diff --git a/web/src/assets/images/bg2.jpg b/web/src/assets/images/bg2.jpg new file mode 100644 index 0000000..5116b71 Binary files /dev/null and b/web/src/assets/images/bg2.jpg differ diff --git a/web/src/components/NavBar.vue b/web/src/components/NavBar.vue index e51b770..287b887 100644 --- a/web/src/components/NavBar.vue +++ b/web/src/components/NavBar.vue @@ -1,7 +1,7 @@