package org.springblade.modules.feign;

import org.springblade.common.constant.CommonConstant;
import org.springblade.core.tool.api.R;
import org.springblade.modules.entity.RyZzrkEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(
	//定义Feign指向的service-id
	value = CommonConstant.APPLICATION_RHZFRYZZRK_NAME
)
public interface RhzfZzrkFeign {
	String API_PREFIX = "/api/bzdz";

	@PostMapping(API_PREFIX + "/zzrkSave")
	R zzrkSave(@RequestBody RyZzrkEntity ryZzrkEntity);

	@PostMapping(API_PREFIX + "/zzrkUpdate")
	R zzrkUpdate(@RequestBody RyZzrkEntity ryZzrkEntity);
}
