package com.red.circle.other.inner.endpoint.task;

import com.red.circle.framework.dto.ResultResponse;
import com.red.circle.other.inner.model.cmd.task.RoomDailyTaskProgressUpdateInnerCmd;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 每日任务进度 Client API.
 *
 * @author tf
 */
public interface RoomDailyTaskClientApi {

    String API_PREFIX = "/room-daily-task/client";

    /**
     * 更新任务进度.
     */
    @PostMapping("/update-progress")
    ResultResponse<Void> updateTaskProgress(@RequestBody RoomDailyTaskProgressUpdateInnerCmd cmd);

}
