package com.pcloud.book.group.facade;

import com.pcloud.book.group.entity.AppClickRecord;
import com.pcloud.common.dto.ResponseDto;
import com.pcloud.common.exceptions.BizException;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@Api(description = "应用作品点击记录")
public interface AppClickRecordFacade {

    @ApiOperation("新增应用作品点击记录")
    @PostMapping("createAppClickRecord")
    ResponseDto<?> createAppClickRecord(
            @RequestBody @ApiParam("应用点击记录模型") AppClickRecord appClickRecord
    ) throws BizException;

}
