查询标签加日志

This commit is contained in:
670788339
2025-10-30 20:20:10 +08:00
parent d5a1d65769
commit ddd8875b11

View File

@@ -152,15 +152,12 @@ public class CourseTagApi extends ApiBaseController {
public JsonResponse<List<CourseTag>> searchTags(String tagName,String typeId ,HttpServletRequest request){
CurrentUser cuser = getCurrent();
log.info(" searchTags cuser name = " + cuser.getName() + " , NickName = " + cuser.getNickName() + " , LoginName = " + cuser.getLoginName());
log.info(" 参数 tagName = " + tagName + " , typeId = " + typeId);
String aid = cuser.getAccountId();
log.info(" searchTags cuser name = " + cuser.getName() + " , NickName = " + cuser.getNickName() + " , LoginName = " + cuser.getLoginName());
log.info(" 参数 tagName = " + tagName + " , typeId = " + typeId + " , aid = " + aid);
log.info(" searchTags aid = " + aid);
if (StringUtils.isNotBlank(tagName)){
List<CourseTag> courseTagList = courseTagService.searchTags(tagName,aid,typeId);
return success(courseTagList);
}
return error("服务器端异常!");
List<CourseTag> courseTagList = courseTagService.searchTags(tagName,aid,typeId);
return success(courseTagList);
}
/**