| | |
| | | package com.dsh.activity.feignclient.other; |
| | | |
| | | import com.dsh.activity.entity.QueryStoreList; |
| | | import com.dsh.activity.feignclient.other.model.Store; |
| | | import com.dsh.activity.feignclient.other.model.StoreDetailOfCourse; |
| | | import com.dsh.activity.feignclient.other.model.StoreInfoDto; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.util.List; |
| | | |
| | | @FeignClient(value = "mb-cloud-other") |
| | | public interface StoreClient { |
| | | |
| | | /** |
| | | * 获取根据门店id 获取店长信息 |
| | | */ |
| | | @PostMapping("/store/queryStoreList") |
| | | List<Store> queryStoreList(QueryStoreList queryStoreList); |
| | | |
| | | @RequestMapping(value = "/getStoreInfo") |
| | | public StoreInfoDto getStoreInfo(@RequestBody Integer id); |
| | | |
| | | @PostMapping("/base/protocol/storeDetail/courseOfSto") |
| | | StoreDetailOfCourse getCourseOfStore(@RequestParam("storeId") Integer storeId); |
| | | StoreDetailOfCourse getCourseOfStore(@RequestBody Integer storeId); |
| | | |
| | | |
| | | @PostMapping("/store/queryStoreByIds") |