package com.yuchen.saas.park.api.feign.client;

import com.yuchen.saas.park.api.entity.park.PmgBatParkPeople;
import com.yuchen.saas.park.api.entity.park.PmgBatParkUserOperationLog;
import org.nest.springwrap.core.launch.app.AppNameConstant;
import org.nest.springwrap.core.tool.api.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;


/**
 * 切面日志用
 */
@FeignClient(
		value = AppNameConstant.SAAS_PARK,
		fallback = PmgBatParkUserOperationLogClientFallback.class
)
public interface PmgBatParkUserOperationLogClient {
	/**
	 * 保存操作日志
	 * @param log
	 * @return
	 */
	@PostMapping("/operationLog/save")
	R save(@RequestBody PmgBatParkUserOperationLog log);

}
