Commit abb8e5ff by “Kongxiangkun”

资讯详情浏览增加日志

parent d83dbc86
package com.yizhi.application.exam.controller;
import cn.hutool.json.JSONUtil;
import com.yizhi.application.exam.vo.ImportVO;
import com.yizhi.core.application.context.ContextHolder;
import com.yizhi.core.application.context.RequestContext;
import com.yizhi.util.application.domain.Response;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.log4j.Log4j2;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
......@@ -15,6 +17,7 @@ import org.springframework.web.bind.annotation.*;
import java.util.HashMap;
import java.util.Map;
@Log4j2
@Api(tags = "管理端-导入接口", description = "管理端-导入接口")
@RestController
@RequestMapping("/manage/exam")
......@@ -43,7 +46,8 @@ public class ExamImportController {
map.put("orgId",orgId);
map.put("libraryId",importVO.getId());
map.put("url",importVO.getUrl());
ls.execute(map, true);
log.info("题目导入入参:{}", JSONUtil.toJsonStr(importVO));
ls.execute(map, false);
return Response.ok();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment