微信小程序分类查询(优惠券错误)完成
This commit is contained in:
@@ -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>
|
||||
|
@@ -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>
|
@@ -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);
|
||||
}
|
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user