//获取 接口的数据
Stopwatch sw = new Stopwatch();//计算耗时
sw.Start();
fn1();//接口调用方法
sw.Stop();
return JsonMsg.OK($"成功,{sw.Elapsed.TotalSeconds}秒", value1);
//获取 接口的数据
Stopwatch sw = new Stopwatch();//计算耗时
sw.Start();
fn1();//接口调用方法
sw.Stop();
return JsonMsg.OK($"成功,{sw.Elapsed.TotalSeconds}秒", value1);