|
@@ -9,6 +9,7 @@ import com.usky.dxtop.mapper.CallApiLogMapper;
|
|
|
import com.usky.dxtop.model.CallApiLog;
|
|
|
import com.usky.dxtop.service.CallApiLogService;
|
|
|
import com.usky.dxtop.service.api.TopApi;
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
@@ -23,6 +24,7 @@ import java.util.Optional;
|
|
|
* @author yq
|
|
|
* @since 2021-08-26
|
|
|
*/
|
|
|
+@Slf4j
|
|
|
@Service
|
|
|
public class CallApiLogServiceImpl extends ServiceImpl<CallApiLogMapper, CallApiLog> implements CallApiLogService {
|
|
|
|
|
@@ -39,6 +41,7 @@ public class CallApiLogServiceImpl extends ServiceImpl<CallApiLogMapper, CallApi
|
|
|
callApiLog.setName(apiName);
|
|
|
callApiLog.setApiResultData(result);
|
|
|
}
|
|
|
+ log.info("callApiLong----"+JSONObject.toJSONString(callApiLog));
|
|
|
this.saveOrUpdate(callApiLog);
|
|
|
}
|
|
|
|