mirror of
https://gitee.com/likeadmin/likeadmin_java.git
synced 2026-05-13 11:56:34 +08:00
修复文章列表问题
This commit is contained in:
BIN
server/like-admin/src/main/resources/static/default_avatar.png
Normal file
BIN
server/like-admin/src/main/resources/static/default_avatar.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.6 KiB |
BIN
server/like-admin/src/main/resources/static/shop_logo.png
Normal file
BIN
server/like-admin/src/main/resources/static/shop_logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.7 KiB |
@@ -88,6 +88,8 @@ public class ArticleServiceImpl implements IArticleService {
|
||||
|
||||
QueryWrapper<Article> queryWrapper = new QueryWrapper<>();
|
||||
queryWrapper.select("id,title,image,intro,visit,create_time");
|
||||
queryWrapper.eq("is_delete", 0);
|
||||
queryWrapper.eq("is_show", 1);
|
||||
if (cid > 0) {
|
||||
queryWrapper.eq("cid", cid);
|
||||
}
|
||||
|
||||
@@ -5,11 +5,15 @@ like:
|
||||
# 服务配置
|
||||
server:
|
||||
port: 8084
|
||||
servlet:
|
||||
context-path: /
|
||||
|
||||
# 框架配置
|
||||
spring:
|
||||
profiles:
|
||||
active: pro
|
||||
mvc:
|
||||
static-path-pattern: /api/static/**
|
||||
# 数据源配置
|
||||
datasource:
|
||||
url: jdbc:mysql://localhost:3306/local_frame?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false
|
||||
|
||||
BIN
server/like-front/src/main/resources/static/default_avatar.png
Normal file
BIN
server/like-front/src/main/resources/static/default_avatar.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.6 KiB |
BIN
server/like-front/src/main/resources/static/shop_logo.png
Normal file
BIN
server/like-front/src/main/resources/static/shop_logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.7 KiB |
Reference in New Issue
Block a user