puzhibing
2025-01-08 b22df417e0bc423c788b013feaad686531d69eed
ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/feignClient/ShopClient.java
@@ -4,6 +4,7 @@
import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.other.api.domain.Shop;
import com.ruoyi.other.api.domain.ShopBalanceStatement;
import com.ruoyi.other.api.factory.ShopClientFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
@@ -41,9 +42,27 @@
   @PostMapping("/shop/getShopByPhone")
   R<Shop> getShopByPhone(@RequestParam("phone") String phone);
   @PostMapping("/getShopByUserIds")
   public R<List<Shop>> getShopByUserIds(@RequestBody List<Long> userIds);
   @PostMapping("/shop/getShopByUserIds")
   R<List<Shop>> getShopByUserIds(@RequestBody List<Long> userIds);
   @GetMapping("/getShopIdByName")
   @GetMapping("/shop/getShopIdByName")
    R<Set<Integer>> getShopIdByName(String shopName);
   @PostMapping("/shop-balance-statement/getList")
   R<List<ShopBalanceStatement>> getShopBalanceStatementList(@RequestBody ShopBalanceStatement shopBalanceStatement);
   /**
    * 编辑门店
    * @param shop
    */
   @PostMapping("/shop/updateShop")
   void updateShop(Shop shop);
   /**
    * 获取所有门店
    * @return
    */
   @PostMapping("/shop/getAllShop")
   R<List<Shop>> getAllShop();
}