puzhibing
2024-02-05 640ff18d2d7f4be02ddb7f8f75e899f05545eb98
cloud-server-competition/src/main/java/com/dsh/competition/feignclient/other/StoreClient.java
@@ -1,5 +1,6 @@
package com.dsh.competition.feignclient.other;
import com.dsh.competition.entity.OperatorUser;
import com.dsh.competition.feignclient.other.model.Store;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
@@ -12,10 +13,16 @@
 */
@FeignClient("mb-cloud-other")
public interface StoreClient {
    /**
     * 根据运营商id获取对应运营商商户号
     * @return
     */
    @PostMapping("/base/getSMIDByOperatorId")
    String getSMIDByOperatorId(Integer id);
    /**
     * 根据名称模糊搜索门店
     *
     * @param name
     * @return
     */
@@ -25,9 +32,18 @@
    /**
     * 根据门店id获取门店信息
     *
     * @param id
     * @return
     */
    @PostMapping("/store/queryStoreById")
    Store queryStoreById(Integer id);
    @PostMapping("/store/addBackRecord")
    void addBackRecord(String s);
    @PostMapping("/store/queryByStoreId")
    OperatorUser queryByStoreId(Integer storeId);
}