From 63b224f484539f7df68d90700596dbd4a8d18734 Mon Sep 17 00:00:00 2001
From: 101captain <237651143@qq.com>
Date: 星期一, 08 八月 2022 10:15:58 +0800
Subject: [PATCH] Merge branch 'huacheng_test' of http://gitlab.nhys.cdnhxx.com/root/zhihuishequ into huacheng_test
---
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ConvenientApi.java | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ConvenientApi.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ConvenientApi.java
index 2709601..72a50a7 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ConvenientApi.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ConvenientApi.java
@@ -1,5 +1,6 @@
package com.panzhihua.service_community.api;
+import java.time.Instant;
import java.util.List;
import javax.annotation.Resource;
@@ -388,7 +389,7 @@
}
/**
- * 分页查询便民服务商家
+ * 分页查询便民服务商家 运营后台
* @param pageConvenientMerchantDTO
* @return
*/
@@ -432,8 +433,8 @@
* @return
*/
@GetMapping("/service-category/all")
- public R getAllServiceCategories() {
- return convenientServiceCategoryService.getAllServiceCategories();
+ public R getAllServiceCategories(@RequestParam("areaCode") String areaCode) {
+ return convenientServiceCategoryService.getAllServiceCategories(areaCode);
}
/**
@@ -570,10 +571,11 @@
/**
* 获取所有产品分类
* @return
+ * @param merchantId
*/
@GetMapping("/product-category/all")
- public R getAllProductCategory() {
- return convenientProductCategoryService.getAllProductCategory();
+ public R getAllProductCategory(@RequestParam("merchantId") Long merchantId) {
+ return convenientProductCategoryService.getAllProductCategory(merchantId);
}
/**
@@ -582,8 +584,8 @@
* @return
*/
@GetMapping("/service-category/suitable")
- public R getSuitableServiceCategories(@RequestParam("communityId") Long communityId) {
- return convenientServiceCategoryService.getSuitableServiceCategories(communityId);
+ public R getSuitableServiceCategories(@RequestParam("communityId") Long communityId,@RequestParam("areaCode")String areaCode) {
+ return convenientServiceCategoryService.getSuitableServiceCategories(communityId,areaCode);
}
/**
--
Gitblit v1.7.1