会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小七要走
我只想让那星河再亮一些
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
下一页
2021年7月12日
萤石云定时更新 accessToken
摘要: class UpdateVideoTokenHelper { private static Timer myTimer; private static string appKey = ConfigurationManager.AppSettings["appKey"]; private static
阅读全文
posted @ 2021-07-12 18:47 小七要走
阅读(706)
评论(0)
推荐(0)
2021年6月16日
vue 表单验证
摘要: /**数字验证 */ export function checkNumber(rule, value, callback) { if (value == '' || value == undefined || value == null) { callback(); } else if (!Numb
阅读全文
posted @ 2021-06-16 11:03 小七要走
阅读(277)
评论(0)
推荐(0)
Arcgis Server打印图片
摘要: 1、开启Arcgis server 打印图片的功能 2、配置相关代理 配置代理的原因是因为arcgis server 默认请求是get 但是打印的时候传的数据超出get 请求的限制 。 2.1config配置 2.2 一般处理程序 ashx 文件配置
阅读全文
posted @ 2021-06-16 10:57 小七要走
阅读(281)
评论(0)
推荐(0)
2021年4月13日
根据条件渲染FeatureLayer以及FindTask使用注意事项
摘要: 1、条件渲染 arcgis api for js 提供了多种渲染方式 根据需求自行设置 下面分别为4.x 和3.x 提供的方式 2、FindTask 使用注意事项 在使用FindTask时 查询出的数据中 geometry为空 原因:参数FindParameters 的returnGeometry默
阅读全文
posted @ 2021-04-13 09:39 小七要走
阅读(158)
评论(0)
推荐(0)
2021年3月31日
判断点是否在面
摘要: 1、代码 using System; using System.Collections.Generic; namespace ToolClass { class Program { static void Main(string[] args) { List<Point> polygonData =
阅读全文
posted @ 2021-03-31 23:16 小七要走
阅读(299)
评论(0)
推荐(0)
2021年3月11日
mysql 中文乱码
摘要: 1、乱码原因 Linux 下MySQL 的表默认字符集为latin1 导致中文乱嘛 2、解决过程 2.1、停mysql服务 service mysql stop 2.2、修改配置文件 文件路径 /etc/my.cnf 打开文件 vi /etc/my.cnf mysqld 加下面一行字符串 保存 退出
阅读全文
posted @ 2021-03-11 21:47 小七要走
阅读(84)
评论(0)
推荐(0)
C# WordToPDF
摘要: 1、代码 using System; using System.Collections.Generic; using System.IO; using Word = Microsoft.Office.Interop.Word;//nuget 直接搜 namespace ConsoleApp3 { c
阅读全文
posted @ 2021-03-11 14:04 小七要走
阅读(379)
评论(0)
推荐(0)
2021年3月3日
JavaScript 常用工具方法
摘要: 1.数组去重 function dedupe(array) { return Array.from(new Set(array)); } let arr = [3, 5, 2, 2, 5, 5]; let unique = [...new Set(arr)]; 2.获取url参数 function
阅读全文
posted @ 2021-03-03 09:23 小七要走
阅读(88)
评论(0)
推荐(0)
2021年2月24日
jQuery Bug
摘要: 1.问题描述 老项目突然跑不起来了,浏览器报 jquery 404,在访问路径放了对应的jquery.js 。给自己挖的坑就此埋下。 2.jQuery 注意事项之一 在使用依赖于jQuery的js包时 不能多次引用jQuery 因为再次引用 会导致 之前在jQuery 对象上注册的方法无法使用。 3
阅读全文
posted @ 2021-02-24 16:57 小七要走
阅读(120)
评论(0)
推荐(0)
2021年1月16日
Scaffold-DbContext 命令使用
摘要: 1、官网地址 https://docs.microsoft.com/zh-cn/ef/core/cli/powershell#scaffold-dbcontext 2.命令说明 Scaffold-DbContext 为 DbContext 数据库的和实体类型生成代码。 为了使 Scaffold-Db
阅读全文
posted @ 2021-01-16 10:44 小七要走
阅读(5891)
评论(0)
推荐(1)
上一页
1
2
3
4
5
6
7
下一页
公告