package com.dsh.course.feignClient.other; import com.dsh.course.feignClient.other.model.Site; import com.dsh.guns.modular.system.model.Store; import com.dsh.guns.modular.system.model.StoredValueConfig; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import java.util.List; /** * 储值管理 */ @FeignClient(value = "mb-cloud-other") public interface StoreValueConfigClient { /** * 添加储值规则 * @return */ @RequestMapping("/base/storeValueConfig/addStoreValueConfig") Object addStoreValueConfig(@RequestBody StoredValueConfig storedValueConfig); /** * 获取储值规则 * @return */ @RequestMapping("/base/storeValueConfig/getStoreValueConfig") StoredValueConfig getStoreValueConfig(); }