‘linchangsheng’ 2 weeks ago
parent
commit
be0e7f53b1

+ 2 - 2
src/main/java/com/gree/mall/manager/controller/admin/AdminCompanyWechatTemplateController.java

@@ -25,10 +25,10 @@ public class AdminCompanyWechatTemplateController {
 
     @GetMapping("/detail")
     @ApiOperation("获取企业下模板")
-    public ResponseHelper<List<AdminCompanyWechatTemplate>> getTemplate( @ApiParam(value = "企业id",required = true) @RequestParam String companyId) {
+    public ResponseHelper<List<AdminCompanyWechatTemplate>> getTemplate() {
 
 
-        return ResponseHelper.success(adminCompanyWechatTemplateLogic.getTemplate(companyId));
+        return ResponseHelper.success(adminCompanyWechatTemplateLogic.getTemplate());
     }
 
 

+ 1 - 1
src/main/java/com/gree/mall/manager/logic/admin/AdminCompanyWechatTemplateLogic.java

@@ -26,7 +26,7 @@ public class AdminCompanyWechatTemplateLogic {
     /**
      * 获取企业下模板
      */
-    public List<AdminCompanyWechatTemplate> getTemplate(String companyId) {
+    public List<AdminCompanyWechatTemplate> getTemplate( ) {
         return adminCompanyWechatTemplateService.lambdaQuery()
                 .list();
     }