摘要: 1.在添加HttpClient注入服务时候,配置BaseAddress时候出现该项不起作用:错误代码如下 //1.注入client配置 services.AddHttpClient("client", c => { c.BaseAddress = new Uri("http://127.0.0.1/ 阅读全文
posted @ 2021-08-13 16:48 胖小山 阅读(1159) 评论(1) 推荐(4)
摘要: 1 public class BaseRepositories<T> where T : class 2 { 3 private readonly RepositoryDbContext _context; 4 5 public BaseRepositories(RepositoryDbContex 阅读全文
posted @ 2021-07-23 11:24 胖小山 阅读(852) 评论(0) 推荐(0)