会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
市丸银
知行合一
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
35
36
37
38
39
40
41
42
43
···
97
下一页
2020年8月19日
django celery 异步
摘要: 一、环境 Package Version python 3.6 amqp 1.4.9 anyjson 0.3.3 baidu-aip 2.2.18.0 billiard 3.3.0.23 celery 3.1.26.post2 certifi 2020.6.20 chardet 3.0.4 Djan
阅读全文
posted @ 2020-08-19 16:35 市丸银
阅读(158)
评论(1)
推荐(0)
2020年8月17日
dajngo 访问静态资源 图片
摘要: 0、创建 media 文件夹 1、配置文件 MEDIA_URL = '/media/' #资源保存目录 media MEDIA_ROOT = os.path.join(BASE_DIR, 'media') 2、路由 from django.contrib import admin from djan
阅读全文
posted @ 2020-08-17 10:47 市丸银
阅读(151)
评论(0)
推荐(0)
2020年8月13日
springboot Shiro
摘要: 待续
阅读全文
posted @ 2020-08-13 17:43 市丸银
阅读(85)
评论(0)
推荐(0)
2020年8月10日
springboot SpringSecurity(安全)
摘要: 官网 https://docs.spring.io/spring-security/site/docs/5.2.1.RELEASE/reference/htmlsingle/#saml2 一、安全? 1、非功能性需求 2、设计之初,考虑安全 二、功能 认证、授权 三、使用 1、导入thymeleaf
阅读全文
posted @ 2020-08-10 16:57 市丸银
阅读(301)
评论(0)
推荐(0)
springboot 多个url对应一个view
摘要: @GetMapping({"/index", "/yy"}) private String index(){ return "index"; } 访问 /index 和 访问 /yy 的效果一致
阅读全文
posted @ 2020-08-10 16:38 市丸银
阅读(578)
评论(0)
推荐(0)
2020年8月5日
爬虫 开启定时任务
摘要: 1、导入模块 import datetime import time 2、代码 def time_task(): while True: now = datetime.datetime.now() # print(now.hour, now.minute) if now.hour == 0 and
阅读全文
posted @ 2020-08-05 17:49 市丸银
阅读(249)
评论(0)
推荐(0)
2020年8月4日
linux 安装 mongdb
摘要: 1、参考 https://www.cnblogs.com/gme5/p/11765151.htmlhttps://blog.csdn.net/qq_43475458/article/details/107123220https://blog.csdn.net/qq_41259576/article/
阅读全文
posted @ 2020-08-04 22:16 市丸银
阅读(111)
评论(0)
推荐(0)
2020年7月30日
centos 7 安装 redis
摘要: https://www.cnblogs.com/zuidongfeng/p/8032505.html 注意:先开启远程连接,在开启后台运行,即cp 到6379.config https://www.it1352.com/1530005.html
阅读全文
posted @ 2020-07-30 08:45 市丸银
阅读(76)
评论(0)
推荐(0)
2020年7月25日
springboot 整合mybatis
摘要: 一、前提条件:连接数据库 二、步骤 1、导包 <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId> <version>2.1.3</ve
阅读全文
posted @ 2020-07-25 11:55 市丸银
阅读(143)
评论(0)
推荐(0)
2020年7月24日
springboot 整合Druid
摘要: 过程 1、导入包 <dependency> <groupId>com.alibaba</groupId> <artifactId>druid</artifactId> <version>1.1.12</version> </dependency> 2、配置application.yml文件 spri
阅读全文
posted @ 2020-07-24 23:36 市丸银
阅读(178)
评论(0)
推荐(0)
上一页
1
···
35
36
37
38
39
40
41
42
43
···
97
下一页
公告