package com.caliverse.admin.domain.api;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.caliverse.admin.domain.service.UserItemService;

import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;

import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;


@Tag(name = "비즈니스 로그 조회", description = "비즈니스 로그 조회 메뉴 api 입니다.")
@RestController
@RequiredArgsConstructor
@RequestMapping("/api/v1/businesslog")
public class BusinessLogSearchController {
    
    private final UserItemService userItemService;

    @GetMapping("/useritemlist")
    public String getUserItemList(@RequestParam Map<String, String> requestParams){

        userItemService.getUserItemHistory(requestParams);


        return null;
        //return ResponseEntity.ok().body( userItemService.getUserItemList(requestParams));
    }
    
    

}
