Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
saysky committed Jun 14, 2024
1 parent 272bb95 commit 86a7061
Show file tree
Hide file tree
Showing 53 changed files with 3 additions and 39 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*.js linguist-language=Java
*.css linguist-language=Java
*.ftl linguist-language=FreeMarker

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ nbdist/
/templates
/static


1 change: 0 additions & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,3 @@ cd $SENS_DIR/target
# 运行SENS
sh $SENS_DIR/bin/sens.sh start

echo "SENS部署完毕,Enjoy!"
Binary file modified img/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/13.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -277,3 +277,4 @@
</plugins>
</build>
</project>

Original file line number Diff line number Diff line change
Expand Up @@ -145,4 +145,3 @@ public AllowAllCredentialsMatcher allowAllCredentialsMatcher() {
return new AllowAllCredentialsMatcher();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,3 @@ public static boolean isAjax(HttpServletRequest httpRequest) {
&& "XMLHttpRequest"
.equals(httpRequest.getHeader("X-Requested-With").toString()));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,3 @@ protected AuthenticationInfo doAuthenticate(AuthenticationToken authenticationTo
return doMultiRealmAuthentication(typeRealms, userToken);
}
}
}
1 change: 0 additions & 1 deletion src/main/java/com/liuyanzhao/sens/entity/MailRetrieve.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,3 @@ public class MailRetrieve extends BaseEntity {
private Date outTime;


}
1 change: 0 additions & 1 deletion src/main/java/com/liuyanzhao/sens/entity/Permission.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,3 @@ public class Permission extends BaseEntity {
@TableField(exist = false)
private List<Permission> childPermissions;

}
1 change: 0 additions & 1 deletion src/main/java/com/liuyanzhao/sens/entity/Role.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,3 @@ public class Role extends BaseEntity {
@TableField(exist = false)
private List<Permission> permissions;

}
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,3 @@ public RolePermissionRef(Long roleId, Long permissionId) {
this.roleId = roleId;
this.permissionId = permissionId;
}
}
1 change: 0 additions & 1 deletion src/main/java/com/liuyanzhao/sens/entity/UserRoleRef.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,3 @@ public UserRoleRef(Long userId, Long roleId) {

public UserRoleRef() {
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,3 @@ public static RestTemplate getRestTemplate() {// 手动添加
restTemplate.setRequestFactory(requestFactory);
return restTemplate;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -135,4 +135,3 @@ public void delete(Long id) {
redisUtil.del(RedisKeys.FRONT_MENU + menu.getMenuType());
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,3 @@ public void saveByRolePermissionRef(RolePermissionRef rolePermissionRef) {
public void batchSaveByRolePermissionRef(List<RolePermissionRef> rolePermissionRefs) {
rolePermissionRefMapper.batchInsert(rolePermissionRefs);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -172,4 +172,3 @@ public String oauthByGitHub(@RequestParam(value = "code") String code,
return "redirect:/admin/login";
}

}
1 change: 0 additions & 1 deletion src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,3 @@ ignored:
- /admin/register
- /admin/getRegister
- /admin/forget
- /admin/getForget
1 change: 0 additions & 1 deletion src/main/resources/banner.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@ ${AnsiColor.BRIGHT_CYAN}


${AnsiColor.BRIGHT_YELLOW}
::: Spring-Boot ${spring-boot.version} ::: SENS Blog (version:${application.formatted-version})
1 change: 0 additions & 1 deletion src/main/resources/i18n/messages.properties
Original file line number Diff line number Diff line change
Expand Up @@ -626,4 +626,3 @@ code.user.validate.complete-invalid=请输入完整信息!
code.user.validate.username-invalid=用户名不合法!
code.user.validate.display-name-invalid=用户显示名不合法!
code.user.validate.email-invalid=电子邮箱不合法
code.user.validate.password-invalid=密码不合法!
1 change: 0 additions & 1 deletion src/main/resources/i18n/messages_en_US.properties
Original file line number Diff line number Diff line change
Expand Up @@ -620,4 +620,3 @@ code.user.validate.complete-invalid=Please enter the complete information!
code.user.validate.username-invalid=Username is invalid or already taken!
code.user.validate.display-name-invalid=User display name is invalid!
code.user.validate.email-invalid=Email is invalid or already taken
code.user.validate.password-invalid=Password is invalid!
1 change: 0 additions & 1 deletion src/main/resources/i18n/messages_zh_CN.properties
Original file line number Diff line number Diff line change
Expand Up @@ -647,4 +647,3 @@ code.user.validate.complete-invalid=请输入完整信息!
code.user.validate.username-invalid=用户名不合法或已存在!
code.user.validate.display-name-invalid=用户显示名不合法!
code.user.validate.email-invalid=电子邮箱不合法!
code.user.validate.password-invalid=密码不合法!
1 change: 0 additions & 1 deletion src/main/resources/mapper/AttachmentMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@
to_days( create_time ) = to_days( now( ) );
AND del_flag = 0
</select>
</mapper>
1 change: 0 additions & 1 deletion src/main/resources/mapper/CategoryMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,3 @@
AND del_flag = 0
</select>

</mapper>
1 change: 0 additions & 1 deletion src/main/resources/mapper/CommentMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,3 @@
id = #{id}
AND del_flag = 0
</update>
</mapper>
1 change: 0 additions & 1 deletion src/main/resources/mapper/LinkMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.liuyanzhao.sens.mapper.LinkMapper">

</mapper>
1 change: 0 additions & 1 deletion src/main/resources/mapper/LogMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,3 @@
</select>


</mapper>
1 change: 0 additions & 1 deletion src/main/resources/mapper/MailRetrieveMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,3 @@
to_days( create_time ) = to_days( now( ) )
AND del_flag = 0
</select>
</mapper>
1 change: 0 additions & 1 deletion src/main/resources/mapper/MenuMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.liuyanzhao.sens.mapper.MenuMapper">

</mapper>
1 change: 0 additions & 1 deletion src/main/resources/mapper/OptionsMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@
option_name = #{optionName}
AND del_flag = 0
</select>
</mapper>
1 change: 0 additions & 1 deletion src/main/resources/mapper/PermissionMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,3 @@
AND rp.del_flag = 0
ORDER BY p.sort ASC
</select>
</mapper>
1 change: 0 additions & 1 deletion src/main/resources/mapper/PostCategoryRefMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,3 @@
AND del_flag = 0
</select>

</mapper>
1 change: 0 additions & 1 deletion src/main/resources/mapper/PostMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -424,4 +424,3 @@
ORDER BY
t.create_time DESC
</select>
</mapper>
1 change: 0 additions & 1 deletion src/main/resources/mapper/PostTagRefMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,3 @@
post_id = #{value}
AND del_flag = 0
</select>
</mapper>
1 change: 0 additions & 1 deletion src/main/resources/mapper/RoleMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,3 @@
r.role_id
order by t.level ASC
</select>
</mapper>
1 change: 0 additions & 1 deletion src/main/resources/mapper/RolePermissionRefMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,3 @@
</foreach>
</insert>

</mapper>
1 change: 0 additions & 1 deletion src/main/resources/mapper/SlideMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.liuyanzhao.sens.mapper.SlideMapper">

</mapper>
1 change: 0 additions & 1 deletion src/main/resources/mapper/TagMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,3 @@
LIMIT #{limit}
</select>

</mapper>
1 change: 0 additions & 1 deletion src/main/resources/mapper/ThirdAppBindMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.liuyanzhao.sens.mapper.ThirdAppBindMapper">

</mapper>
1 change: 0 additions & 1 deletion src/main/resources/mapper/UserMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -151,4 +151,3 @@
create_time DESC
LIMIT #{value}
</select>
</mapper>
1 change: 0 additions & 1 deletion src/main/resources/mapper/UserRoleRefMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@
WHERE user_id = #{value}
AND del_flag = 0
</delete>
</mapper>
1 change: 0 additions & 1 deletion src/main/resources/mapper/WidgetMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.liuyanzhao.sens.mapper.WidgetMapper">

</mapper>
1 change: 0 additions & 1 deletion src/main/resources/robots.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
User-agent: *
Disallow: /admin/
Sitemap: /sitemap.xml

0 comments on commit 86a7061

Please sign in to comment.