微信小程序分类查询(优惠券错误)完成

This commit is contained in:
2023-09-29 00:50:27 +08:00
parent fb902f09da
commit 211f1028f2
23 changed files with 286 additions and 72 deletions

View File

@@ -15,6 +15,7 @@
<module>service-product-client</module>
<module>service-user-client</module>
<module>service-search-client</module>
<module>service-activity-client</module>
</modules>
<dependencies>
<dependency>

View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.atguigu</groupId>
<artifactId>service-client</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>
<artifactId>service-activity-client</artifactId>
<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
</project>

View File

@@ -0,0 +1,22 @@
package com.atguigu.ssyx.client.activity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import java.util.List;
import java.util.Map;
/**
* ClassName: ActivityFeignClient
* Package: com.atguigu.ssyx.client.activity
*
* @author yovinchen
* @Create 2023/9/26 14:10
*/
@FeignClient(value = "service-activity")
public interface ActivityFeignClient {
@PostMapping("/api/activity/inner/findActivity")
Map<Long, List<String>> findActivity(@RequestBody List<Long> skuIdList);
}

View File

@@ -22,5 +22,5 @@ public interface UserFeignClient {
* @return
*/
@GetMapping("/api/user/leader/inner/getUserAddressByUserId/{userId}")
LeaderAddressVo getUserAddressByUserId(@PathVariable(value = "userId") Long userId);
LeaderAddressVo getUserAddressByUserId(@PathVariable("userId") Long userId);
}