会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
罕
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
下一页
2020年9月9日
c# 模拟post请求 键值对方式
摘要: c# 模拟post请求 键值对方式 引用 using System.Collections.Generic; using System.Net.Http; #region Post请求 /// <summary> /// psot请求 key-value /// </summary> /// <pa
阅读全文
posted @ 2020-09-09 15:06 罕
阅读(1668)
评论(0)
推荐(0)
2020年8月20日
页面内容js复制
摘要: 方法一: function CopyAddress(btn) { var AddressStr=" "; var $btn = $(btn); var tr = $btn.parent().parent(); var trs = tr.siblings(); var tr1 = $(trs.get(
阅读全文
posted @ 2020-08-20 10:37 罕
阅读(316)
评论(0)
推荐(0)
文件字节流/Base64文件数据--保存pdf文件
摘要: Base64文件数据和文件字节流数据,保存方式异曲同工,如下 Base64文件数据转PDF /// <summary> /// Base64 转PDF /// </summary> /// <param name="wayBillNo">单号,或相对唯一的值</param> /// <param n
阅读全文
posted @ 2020-08-20 10:32 罕
阅读(2640)
评论(0)
推荐(0)
2020年3月13日
TCP 上传工具FileZilla 读取目录列表失败
摘要: FileZilla Server安装好之后,尝试用用本地电脑fileZilla client登录,提示以下错误: 状态: 连接建立,等待欢迎消息…… 状态: 不安全的服务器,不支持 FTP over TLS。 状态: 已登录 状态: 读取目录列表…… 状态: 服务器发回了不可路由的地址。 被动模式失
阅读全文
posted @ 2020-03-13 23:51 罕
阅读(1121)
评论(0)
推荐(0)
mixins 的五个类
摘要:
阅读全文
posted @ 2020-03-13 22:19 罕
阅读(143)
评论(0)
推荐(0)
阿里云 云服务器ECS 如何运用
摘要: 我的服务器是centos系统 1.进入你买的服务器,找到实例 2.进入实例后,点击远程连接,进入如linux界面(如果没有密码,进行第3部) 3.没有密码,点击上图的更多,重置实例密码 4,进行第2部,进入linux黑窗口界面,进行操作
阅读全文
posted @ 2020-03-13 22:15 罕
阅读(186)
评论(0)
推荐(0)
2020年3月1日
Flask 中 @property 和@password.setter 的运用
摘要: 在models.py 文件中 User用户表中 # 禁止读取密码 @property def password(self): # 原理:读取返回参数 # return self.password_hash # 实际不可读 raise AttributeError('password 是不可读属性')
阅读全文
posted @ 2020-03-01 13:40 罕
阅读(1623)
评论(0)
推荐(0)
2020年1月25日
Python 爬虫错误SSlError:requests.exceptions.SSLError: (“bad handshake: SysCallError(-1, ‘Unexpected EOF’)”,)
摘要: 详细参考:https://blog.csdn.net/haiyanggeng/article/details/81229546
阅读全文
posted @ 2020-01-25 21:05 罕
阅读(3574)
评论(0)
推荐(0)
2019年12月26日
ASP.NET Bootstrap模态框数据绑定
摘要: 模态框 html 模态框弹出关键参数: data-toggle="modal" data-target="#模态框ID" <%-- 模态框按钮--%> <button id="Buttonadd" type="button" class="btn btn-rounded btn-primary" d
阅读全文
posted @ 2019-12-26 14:27 罕
阅读(664)
评论(0)
推荐(0)
2019年12月13日
django RetrieveModelMixin 查询字段替换
摘要: mixins 中RetrieveModelMixin 获取当个实例 其中的主键pk获取,可以通过lookup_field 如:要换成用username字段进行查询 注:替换的字段要有唯一约束 lookup_field='username' 例: class UserDetialViewSet(mix
阅读全文
posted @ 2019-12-13 11:15 罕
阅读(1376)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
下一页
公告