package com.jwipc.sys.controller.pc;

import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import static com.jwipc.sys.constant.ModuleConst.MODULE_ROOT;

/**
 * @author shenyang.ou
 * @date 2024/2/28 16:31
 * @desc
 */
@RequestMapping(MODULE_ROOT + "/export")
@RequiredArgsConstructor
@Controller
public class ExportPageController {
    @GetMapping("/dialog")
    public String dialog(Model model,String exportUrlKey) {
        model.addAttribute("exportUrlKey",exportUrlKey);
        return MODULE_ROOT + "/export/export_dialog";
    }
}
