摘要: 用nginx代理不知道为什么内网能用,外网用不了,改用go写个代理临时用下,直接上代码 package main import ( "fmt" "io" "log" "net" ) var addr string = "0.0.0.0:51415" //代理服务端口 var dest_addr st 阅读全文
posted @ 2023-12-13 20:37 wsh3166Sir 阅读(48) 评论(0) 推荐(0)
摘要: 引入jS<script type="text/javascript" src="/Public/js/jquery.2.2.4.min.js"></script> <script type="text/javascript" src="/Public/js/jquery.table2excel.js 阅读全文
posted @ 2023-08-25 13:00 wsh3166Sir 阅读(180) 评论(0) 推荐(0)
摘要: 实际就是十六进制颜色转成十进制 白色:16777215 红色:16711680 绿色:65280 蓝色:255 牡丹红:16711935 青色:65535 黄色:16776960 黑色:0 海蓝:7396243 巧克力色:6042391 蓝紫色:10444703 黄铜色:11904578 亮金色:1 阅读全文
posted @ 2023-08-10 09:22 wsh3166Sir 阅读(1515) 评论(0) 推荐(0)
摘要: package main import ( "bytes" "fmt" "image" "io/ioutil" "mylog" "os" "path" "github.com/nfnt/resize" _ "image/gif" "image/jpeg" _ "image/png" ) func m 阅读全文
posted @ 2023-06-13 16:45 wsh3166Sir 阅读(455) 评论(0) 推荐(0)
摘要: 用户的输入经常用到拼音码选择器 --调用方法 select dbo.wsh_GetPY('汉字') ALTER FUNCTION [dbo].[wsh_GetPY] ( @str NVARCHAR(4000) ) RETURNS NVARCHAR(4000) AS BEGIN DECLARE @WO 阅读全文
posted @ 2023-05-10 14:51 wsh3166Sir 阅读(74) 评论(0) 推荐(0)
摘要: /* test110 '2023-04-26','2023-04-26','全部','901100569,901100570,901100571,901100572,901100573'; */ ALTER PROCEDURE [dbo].[test110] @StartDate datetime, 阅读全文
posted @ 2023-04-28 09:01 wsh3166Sir 阅读(338) 评论(0) 推荐(0)
摘要: // 看到一张以前的笔记,再一看还是很容易明白。 //https://github.com/getify/You-Dont-Know-JS/blob/1ed-zh-CN/async%20%26%20performance/ch3.md let p5= new Promise((resolve,rej 阅读全文
posted @ 2022-06-27 16:27 wsh3166Sir 阅读(39) 评论(0) 推荐(0)
摘要: package main import ( "fmt" "log" "sync" "time" ) type Glimit struct { n int c chan struct{} } // 初始化Glimit结构体 func New_workers(max_goroutine int) (*G 阅读全文
posted @ 2022-06-27 16:16 wsh3166Sir 阅读(203) 评论(7) 推荐(0)
摘要: --创建链接服务器 exec sp_addlinkedserver 'ServerName', ' ', 'SQLOLEDB ', 'IPADDRESS' exec sp_addlinkedsrvlogin 'ServerName', 'false ',null, 'username', 'pass 阅读全文
posted @ 2022-06-27 14:50 wsh3166Sir 阅读(36) 评论(0) 推荐(0)
摘要: 按时间顺序记录1、2022年6月22日,公司对其他区域分店进行库存盘点,上午8点20开始盘点,后台日志正常,9点40分左右盘点人员在群里反馈盘点APP打不开,第一反应以为服务故障了,查看后台后确认服务正常,并且本区域门店也在使用,联系门店退出后重进是否正常,答正常。2、内网访问正常,于是重启外网交换 阅读全文
posted @ 2022-06-22 12:52 wsh3166Sir 阅读(315) 评论(0) 推荐(0)