Browse Source

帮助/协议修改

Gaosheng 1 day ago
parent
commit
a9f0015ad6

+ 5 - 6
xinkeaboard-server/b2b2c-web/src/main/java/com/slodon/b2b2c/controller/cms/admin/AdminDocHelpController.java

@@ -47,8 +47,8 @@ public class AdminDocHelpController {
      * @return
      */
     @GetMapping("/admin/list")
-    public JsonResult<PageVO<HelpArticleVO>> getAdminDocList(HttpServletRequest request, String searchWord, String webSite) {
-        return getHelpDocList(request, ArticleConst.ADMIN_CATEGORY, searchWord,webSite);
+    public JsonResult<PageVO<HelpArticleVO>> getAdminDocList(HttpServletRequest request, String searchWord) {
+        return getHelpDocList(request, ArticleConst.ADMIN_CATEGORY, searchWord);
     }
 
     /**
@@ -58,8 +58,8 @@ public class AdminDocHelpController {
      * @return
      */
     @GetMapping("/seller/list")
-    public JsonResult<PageVO<HelpArticleVO>> getSellerDocList(HttpServletRequest request, String searchWord, String webSite) {
-        return getHelpDocList(request, ArticleConst.SELLER_CATEGORY, searchWord, webSite);
+    public JsonResult<PageVO<HelpArticleVO>> getSellerDocList(HttpServletRequest request, String searchWord) {
+        return getHelpDocList(request, ArticleConst.SELLER_CATEGORY, searchWord);
     }
 
     /**
@@ -67,13 +67,12 @@ public class AdminDocHelpController {
      * @param categoryId
      * @return
      */
-    private JsonResult<PageVO<HelpArticleVO>> getHelpDocList(HttpServletRequest request, Integer categoryId,String searchWord,String webSite) {
+    private JsonResult<PageVO<HelpArticleVO>> getHelpDocList(HttpServletRequest request, Integer categoryId, String searchWord) {
         PagerInfo pager = WebUtil.handlerPagerInfo(request);
         HelpArticleExample example = new HelpArticleExample();
         example.setCategoryId(categoryId);
         example.setState(ArticleConst.STATE_YES);
         example.setSearchWord(searchWord);
-        example.setWebSite(webSite);
         List<StoreCmsArticle> list = helpArticleModel.getArticleList(example, null);
         List<HelpArticleVO> vos = new ArrayList<>();
         if (!CollectionUtils.isEmpty(list)) {

+ 11 - 0
xinkeaboard-server/doc/DDL/update.sql

@@ -363,10 +363,21 @@ update sys_setting set `value`='1' where name = 'verification_code_check_is_enab
 
 ALTER TABLE sys_pc_navigation ADD COLUMN create_time DATETIME NOT NULL DEFAULT NOW() COMMENT '创建时间' AFTER data;
 
+---大屏
 ALTER TABLE member ADD COLUMN  latitude  DECIMAL(10, 6) NULL  COMMENT '纬度' AFTER city;
 
 ALTER TABLE member ADD COLUMN  longitude  DECIMAL(10, 6) NULL  COMMENT '经度' AFTER latitude;
 
+DELETE FROM sys_agreement WEHRE agreement_code IN ('business_residence_agreement_2','seller_privacy_policy_2','seller_register_agreement_2');
+
+DELETE FROM store_cms_article_category WHERE category_name IN ('国外站门户', '国内站门户');
+
+DELETE FROM store_cms_article WHERE category_id IN (9,10,11);
+
+UPDATE  store_cms_article set web_site = 1;
+
+
+