package jnpf.attendance;

import jnpf.attendance.fallback.AttendanceSimulateDataApiFallback;
import jnpf.attendance.fallback.FtbClockInApiFallback;
import jnpf.util.NoDataSourceBind;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 打卡api
 *
 * @author yanwenfu
 * @create 2023-12-04
 */
@FeignClient(name = "jnpf-ftb", fallbackFactory = AttendanceSimulateDataApiFallback.class, path = "/attendance/simulateData")
public interface AttendanceSimulateDataApi {
    /**
     * 打卡
     * @return java.lang.Object
     */
    @PostMapping(value = "/clockIn")
    void clockIn(@RequestParam(value = "tenantId") String tenantId) throws Exception;
}
