Browse Source

产品类型没修改完

Reiskuchen 5 years ago
parent
commit
72872b3971

+ 1 - 0
website/src/main/java/com/hssx/website/service/impl/ArticleServiceImpl.java

@@ -51,6 +51,7 @@ public class ArticleServiceImpl extends ServiceImpl<ArticleMapper, Article> impl
 
     @Override
     public Model getGoodsList(Model model) {
+        /*这里应该把产品类型分类返回了*/
         model.addAttribute("companyProducts", companyProductsMapper.selectList(new QueryWrapper<CompanyProducts>().orderByDesc("id")));
         return model;
     }

+ 1 - 1
website/src/main/resources/templates/goods.html

@@ -74,7 +74,7 @@
                     <section class="bar">
                         <!-- Image box with hover-->
                         <div class="heading">
-                            <h2>成功案例</h2>
+                            <h2>公司产品</h2>
                         </div>
                         <div class="row mb-4">
                             <!--<div class="col-lg-4 col-md-6" th:each="item : ${case}">-->