摘要: public static string Key { get; set; } = "123456789987654321";//解密串 /// <summary> /// 加密方法 /// </summary> /// <param name="payload">需要加密的字典</param> // 阅读全文
posted @ 2021-02-10 16:15 后跳 阅读(1800) 评论(0) 推荐(0)
摘要: 第一种: step1:添加引用(搜索CORS) step2: App_Start/WebApiConfig.cs中添加配置 step3: 在控制器中添加特性 第二种: 在App_Start/WebApiConfig.cs中添加方法 /// <summary> /// 允许跨域调用 /// </sum 阅读全文
posted @ 2021-02-10 16:05 后跳 阅读(149) 评论(0) 推荐(0)