jiangqs
2023-06-18 c00d0d3bc399b6648145dfd955cedbea90f5f99d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package com.ruoyi.system.api.service;
 
import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.system.api.domain.dto.AppShoppingCartDelDto;
import com.ruoyi.system.api.factory.RemoteShoppingCartFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
 
/**
 * @author jqs34
 * @ClassName RemoteShoppingCartService
 * @description: TODO
 * @date 2023年05月23日
 * @version: 1.0
 */
@FeignClient(contextId = "remoteShoppingCartService", value = ServiceNameConstants.GOODS_SERVICE, fallbackFactory = RemoteShoppingCartFallbackFactory.class)
public interface RemoteShoppingCartService {
 
    @PostMapping("/shoppingCart/deleteShoppingCart")
    public R deleteShoppingCart(@RequestBody AppShoppingCartDelDto appShoppingCartDelDto);
}