44323
2023-11-27 aa45df63fa01b2f010560e4157f00bec5150a1fb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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();
}