11 2021 档案

摘要:简单实现接口返回统一格式:添加api接口执行时长 1.使用方式 // This method gets called by the runtime. Use this method to add services to the container. public void ConfigureServ 阅读全文
posted @ 2021-11-12 10:20 棙九九 阅读(2241) 评论(1) 推荐(0)
摘要:简单实现接口幂等性,根据参数的hascode实现: 参数介绍 WaitMillisecond : 请求等待毫秒数 CacheMillisecond:请求结果缓存毫秒数 参数具体使用场景 WaitMillisecond :用户频繁发起多次请求,只处理第一次请求,后续请求在这个等待(时间范围内)的均返回 阅读全文
posted @ 2021-11-11 17:11 棙九九 阅读(1759) 评论(3) 推荐(3)