using Microsoft.AspNetCore.Mvc; using Newtonsoft.Json; using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WIDESEAWCS_Core; using WIDESEAWCS_Core.BaseRepository; using WIDESEAWCS_Core.BaseServices; using WIDESEAWCS_IBasicInfoService; using WIDESEAWCS_Model.Models; namespace WIDESEAWCS_BasicInfoService { public class InterfaceLogService : ServiceBase>, IInterfaceLogService { public InterfaceLogService(IRepository BaseDal) : base(BaseDal) { } public IRepository Repository => BaseDal; /// /// 添加日志 /// /// 接口编号 /// 接口名称 /// 接口地址 /// 请求方 /// 请求内容 /// 接收方 /// 响应内容 /// 是否添加 /// public WebResponseContent AddInterfaceLog(string ApiCode, string ApiName, string ApiAddress, string Requestor, string RequestParameters, string Recipient, string ResponseParameters, bool Add) { WebResponseContent content = new WebResponseContent(); try { } catch (Exception ex) { content.Error(ex.Message); } return content; } } }