摘要: 参考自 https://www.cnblogs.com/shanyou/p/13837007.html 环境:windows10+vs2022+.net6 1、nuget安装 Microsoft.ClearScript 2、直接在Controller或者Service中使用,示例如下: using 阅读全文