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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
package com.dsh.course.feignClient.other;
 
import com.dsh.course.feignClient.other.model.FrequentlyAskedQuestions;
import com.dsh.course.feignClient.other.model.TSiteDTO;
import com.dsh.guns.modular.system.model.QuestionChangeStateVO;
import com.dsh.guns.modular.system.model.SiteSearchVO;
import com.dsh.guns.modular.system.model.Store;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
 
import java.util.List;
 
/**
 * 常见问题
 */
@FeignClient(value = "mb-cloud-other")
public interface StoreClient {
 
    /**
     * 选择市区 展示全部门店
     */
    @RequestMapping("base/store/getStore")
    List<Store> getStore(@RequestBody String city);
 
    /**
     * 根据所选门店 查询经营时间
     * @param oneId
     * @return
     */
    @RequestMapping("base/store/getTime")
    Store getTime(@RequestBody String oneId);
 
    /**
     * 根据门店id获取门店信息
     */
    @RequestMapping("base/site/getStoreById")
    Store getStoreById(@RequestBody Integer id);
    /**
     * 根据城市管理员id获取门店
     */
    @RequestMapping("base/site/getStoreByCityManagerId")
    List<Store> getStoreByCityManagerId(@RequestBody Integer id);
    /**
     * 根据员工id获取门店
     */
    @RequestMapping("base/site/getStoreByStoreStaffId")
    List<Store> getStoreByStoreStaffId(@RequestBody Integer id);
}