11 2021 档案
摘要:简单实现接口返回统一格式:添加api接口执行时长 1.使用方式 // This method gets called by the runtime. Use this method to add services to the container. public void ConfigureServ
阅读全文
摘要:简单实现接口幂等性,根据参数的hascode实现: 参数介绍 WaitMillisecond : 请求等待毫秒数 CacheMillisecond:请求结果缓存毫秒数 参数具体使用场景 WaitMillisecond :用户频繁发起多次请求,只处理第一次请求,后续请求在这个等待(时间范围内)的均返回
阅读全文
浙公网安备 33010602011771号