摘要: public static class StringHelper { /// <summary> /// 返回缩略图路径 /// </summary> /// <param name="filePath">原图路径</param> /// <param name="width">缩略图宽</para 阅读全文
posted @ 2020-11-12 14:37 春夏秋冬的千山万水 阅读(95) 评论(0) 推荐(0)
摘要: /// <summary> /// 小程序秘钥 /// </summary> /// <param name="wxLogin"></param> /// <returns></returns> [AllowUser] [HttpPost] public ResultResponse<bool> G 阅读全文
posted @ 2020-11-12 13:55 春夏秋冬的千山万水 阅读(366) 评论(0) 推荐(0)
摘要: public class WxHelper { //微信小程序 private static string _appid = ConfigurationManager.AppSettings["wxAPPID"]; private static string _appSecret = Configu 阅读全文
posted @ 2020-11-12 13:49 春夏秋冬的千山万水 阅读(116) 评论(0) 推荐(0)
摘要: <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>拍照2</title> </head> <body> <button id="btnDoCapture">拍照</button> <br /> <video i 阅读全文
posted @ 2020-11-12 12:02 春夏秋冬的千山万水 阅读(222) 评论(0) 推荐(0)
摘要: function formatHtml(strHtml) { strHtml = splitLabel(strHtml, "SPAN"); strHtml = splitLabel(strHtml, "P"); strHtml = splitLabel(strHtml, "B"); strHtml 阅读全文
posted @ 2020-10-20 09:17 春夏秋冬的千山万水 阅读(325) 评论(0) 推荐(0)
摘要: /// <summary> /// json转换对象 /// </summary> /// <typeparam name="T"></typeparam> /// <param name="strInput"></param> /// <returns></returns> public stat 阅读全文
posted @ 2020-09-23 09:19 春夏秋冬的千山万水 阅读(87) 评论(0) 推荐(0)
摘要: <template> <div class="side-menu-wrapper"> <slot></slot> <Menu ref="menu" v-show="!collapsed" :active-name="activeName" :open-names="openedNames" :acc 阅读全文
posted @ 2020-09-07 16:10 春夏秋冬的千山万水 阅读(1247) 评论(0) 推荐(0)
摘要: public ResultResponse<string> CertificateImg(int type) { ResultResponse<string> ret = new ResultResponse<string>(); if (type <= 0) { ret.ErrorMsg = "参 阅读全文
posted @ 2020-08-25 13:51 春夏秋冬的千山万水 阅读(178) 评论(0) 推荐(0)
摘要: 微信的c#demo直接打开是framework2.0,项目右键,属性,改为4.0就好了 阅读全文
posted @ 2020-08-24 16:32 春夏秋冬的千山万水 阅读(357) 评论(0) 推荐(0)
摘要: 1 using System; 2 using System.Security.Cryptography; 3 using System.Text; 4 5 namespace Wechat 6 { 7 public static class Security 8 { 9 public static 阅读全文
posted @ 2020-08-20 14:24 春夏秋冬的千山万水 阅读(1015) 评论(0) 推荐(0)