package cn.iocoder.yudao.module.system.api.robot;

import cn.iocoder.yudao.module.system.enums.ApiConstants;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = ApiConstants.NAME) // TODO 芋艿：fallbackFactory =
@Tag(name = "放货后货物高度反馈和取货后货物高度反馈")
public interface RobotUpdatePalletHeightApi {

    String PREFIX = ApiConstants.PREFIX + "/task";

    @PostMapping(PREFIX + "/updatePalletHeight")
    @Operation(summary = "机器人完成任务上报")
    void updatePalletHeight(@RequestParam("message") String message);
}
