Browse Source

双十一活动调整

zouxuan 1 year ago
parent
commit
d4df90c739

+ 2 - 2
mec-application/src/main/java/com/ym/mec/web/controller/HfMerchantConfigController.java

@@ -68,8 +68,8 @@ public class HfMerchantConfigController extends BaseController {
     }
 
     @ApiOperation("根据机构id查询汇付商户配置")
-    @GetMapping(value = "/queryByTenantId/{payerName}/{id}")
-    public HttpResponseResult<HfMerchantConfig> queryByTenantId(@PathVariable("payerName") String payerName, @ApiParam(value = "机构ID", required = true) @PathVariable("id") Integer id) {
+    @GetMapping(value = "/queryByTenantId")
+    public HttpResponseResult<HfMerchantConfig> queryByTenantId(String payerName, Integer id) {
         return succeed(hfMerchantConfigService.queryByTenantId(id, payerName));
     }
 

+ 2 - 2
mec-client-api/src/main/java/com/ym/mec/web/WebFeignService.java

@@ -43,8 +43,8 @@ public interface WebFeignService {
 	@PostMapping(value = "api/queryVipPracticeGroups")
     Boolean queryVipPracticeGroups();
 
-	@GetMapping(value = "/queryByTenantId/{payerName}/{id}")
-	HttpResponseResult<HfMerchantConfig> queryByTenantId(@PathVariable("payerName") String payerName,@PathVariable("id") Integer id);
+	@GetMapping(value = "/queryByTenantId")
+	HttpResponseResult<HfMerchantConfig> queryByTenantId(@RequestParam("payerName") String payerName,@RequestParam("id") Integer id);
 
 	@PostMapping("/api/mallCreateOrder")
 	HttpResponseResult<Map> mallCreateOrder(@RequestBody MallCreateOrderModel model);