package com.crm.manager.service.shop;

import com.crm.rely.backend.core.dto.base.BaseResultDto;
import com.crm.rely.backend.core.dto.system.shop.integral.SysIntegralRuleAllDto;
import com.crm.rely.backend.core.entity.system.shop.integral.SysIntegralRuleUpdateAllEntity;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * Created by max on 2021/3/24.
 */
@FeignClient(value = "SHOP-MANAGER-SERVICE",path = "/shop/manage/service/sys/integral/rule")
public interface ShopSysIntegralRuleFeignService {

    @PostMapping("/update")
    BaseResultDto<Object> updateForm(SysIntegralRuleUpdateAllEntity entity) throws Exception;

    @PostMapping("/search/all")
    BaseResultDto<SysIntegralRuleAllDto> searchAll() throws Exception;

}
