Commit 67f3c53d by guojuxing

装修页面顶部导航查询接口调整

parent 7b8447fc
......@@ -49,11 +49,8 @@ public class CustomGuideTopApiServiceImpl implements CustomGuideTopApiService{
@Override
public ServiceResponse<CustomGuideTopDTO> getCustomGuideTop(Integer enterpriseId, String appKey) {
LOGGER.info("查询参数:{}-{}", enterpriseId, appKey);
TabCustomGuideTop record = customGuideTopService.getCustomGuideTop(enterpriseId, appKey);
if (record == null) {
LOGGER.info("查询参数:{}-{}", enterpriseId, appKey);
throw new CommonException(ErrorCode.PARAMETER_ERROR.getCode(), "查无数据");
}
return ServiceResponse.success(EntityUtil.changeEntityNew(CustomGuideTopDTO.class, record));
}
}
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