Commit 7606db72 authored by 刘帅阳's avatar 刘帅阳

超级管理员商家管理员展示

parent 6b17f7ae
...@@ -496,6 +496,10 @@ public class CmsNewsServiceImpl extends ServiceImpl<CmsNewsRepository, CmsNews> ...@@ -496,6 +496,10 @@ public class CmsNewsServiceImpl extends ServiceImpl<CmsNewsRepository, CmsNews>
if (cmsNews1.getPath() != null) { if (cmsNews1.getPath() != null) {
cmsNews1.setPath(global.getBase_Discovery() + cmsNews1.getPath()); cmsNews1.setPath(global.getBase_Discovery() + cmsNews1.getPath());
} }
//封面
if (cmsNews1.getDefaultUrl() != null) {
cmsNews1.setDefaultUrl(global.getBase_Discovery() + cmsNews1.getDefaultUrl());
}
} }
return cmsVideoIPage; return cmsVideoIPage;
} }
......
...@@ -192,8 +192,8 @@ ...@@ -192,8 +192,8 @@
SUM(cv.click_through_rate) AS readNum SUM(cv.click_through_rate) AS readNum
FROM (SELECT cv.*, FROM (SELECT cv.*,
cpc.click_through_rate AS click_through_rate, cpc.click_through_rate AS click_through_rate,
oi1.path AS defaultUrl, oi1.path AS path,
oi.path AS path oi.path AS defaultUrl
FROM cms_video cv FROM cms_video cv
LEFT JOIN cms_unit_new_video cunv ON cv.business_id = cunv.news_video_id AND cunv.type = 1 LEFT JOIN cms_unit_new_video cunv ON cv.business_id = cunv.news_video_id AND cunv.type = 1
LEFT JOIN sys_user_unit suu ON cunv.unit_id = suu.unit_id LEFT JOIN sys_user_unit suu ON cunv.unit_id = suu.unit_id
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment