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);
|
}
|