摘要: .net Core用法: 1. startUP中Configure方法添加: //使用跨域 app.UseCors("AllowAllOrigin"); 2. startUP中ConfigureServices中添加: 3. BaseController 使用[EnableCors("AllowAl 阅读全文
posted @ 2018-03-08 11:39 *人丑就该多读书* 阅读(127) 评论(0) 推荐(0) 编辑