package com.red.circle.other.inner.endpoint.sys.api;


import com.red.circle.framework.dto.PageResult;
import com.red.circle.framework.dto.ResultResponse;
import com.red.circle.other.inner.model.cmd.approval.ApprovalReportedCmd;
import com.red.circle.other.inner.model.cmd.sys.SysReportedQryCmd;
import com.red.circle.other.inner.model.dto.sys.SysReportedUserDTO;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 举报记录.
 *
 * @author lisizhe on 2023/5/24
 */
public interface ReportedUserClientApi {

  String API_PREFIX = "/reported-user/client";

  @PostMapping("/pageSysReportedUser")
  ResultResponse<PageResult<SysReportedUserDTO>> pageSysReportedUser(
      @RequestBody SysReportedQryCmd sysReportedQuery);

  @PostMapping("/approvalReported")
  ResultResponse<Void> approvalReported(@RequestBody ApprovalReportedCmd cmd);
}
