上一页 1 2 3 4 5 6 ··· 8 下一页
摘要: 第一步:Startup添加如下代码 第二步:功能实现 /// <summary> /// 跨域配置 /// </summary> public class CorsOriginsConfig { /// <summary> /// 设置 /// </summary> public static vo 阅读全文
posted @ 2023-06-29 14:51 兴趣就是天赋 阅读(66) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// 接口工厂 /// </summary> public class APIFactoryController : BaseApiController { /// <summary> /// 控制器缓存 /// </summary> private static re 阅读全文
posted @ 2023-03-23 14:36 兴趣就是天赋 阅读(58) 评论(0) 推荐(0) 编辑
摘要: 1、nuget添加 Oracle.ManagedDataAccess 2、连接字符串配置 <connectionStrings> <!--连接字符串--> <add name="FeesConn" connectionString="User Id=sa; password=sa;Data Sour 阅读全文
posted @ 2023-03-10 14:11 兴趣就是天赋 阅读(304) 评论(0) 推荐(0) 编辑
摘要: 通过nuget 添加 text7.pdfhtml /// <summary> /// pdf下载 /// </summary> /// <returns></returns> [ValidateInput(false)] [HttpPost] public ActionResult Download 阅读全文
posted @ 2023-03-10 09:16 兴趣就是天赋 阅读(9) 评论(0) 推荐(0) 编辑
摘要: Java代码 package com.pkuhit.mobile.pay.alipay.api.sign; import com.founder.smc.util.Base64Util; import java.io.ByteArrayInputStream; import java.io.Byte 阅读全文
posted @ 2023-02-16 15:38 兴趣就是天赋 阅读(21) 评论(0) 推荐(0) 编辑
摘要: Java版 public static void main(String[] args) throws Exception { byte[] text = "test".getBytes(); //待加/解密的数据 //密钥数据 byte[] keyData = Base64.decode("Uqt 阅读全文
posted @ 2023-02-16 11:48 兴趣就是天赋 阅读(702) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>腾讯地图-通过定位显示当前位置地图</title> <meta name="viewpor 阅读全文
posted @ 2022-12-22 13:48 兴趣就是天赋 阅读(565) 评论(0) 推荐(0) 编辑
摘要: using Ionic.Zlib; using System; using System.IO; using System.Linq; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using 阅读全文
posted @ 2022-12-16 17:21 兴趣就是天赋 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 调用: public string GetNodeName(string nodeNum) { Func<string> func = () => { return db.FirstOrDefault<string>("SELECT PNodeName FROM " + NodeNumTableNa 阅读全文
posted @ 2022-12-16 11:38 兴趣就是天赋 阅读(5) 评论(0) 推荐(0) 编辑
摘要: public class AutofacConfig { /// <summary> /// IOC注册 /// </summary> public static void Register() { ContainerBuilder builder = new ContainerBuilder(); 阅读全文
posted @ 2022-12-15 17:48 兴趣就是天赋 阅读(23) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 8 下一页