摘要: 1.1 注册账号 https://www.yuntongxun.com/user/login '''1. 安装容联云sdk''' pip install ronglian_sms_sdk # 免费测试文档地址https://doc.yuntongxun.com/p/5a531a353b8496dd0 阅读全文
posted @ 2020-10-07 21:06 洋洋洋ax 阅读(532) 评论(0) 推荐(0) 编辑
摘要: 1.django 缓存设置 django的六种缓存(mysql+redis) :https://www.cnblogs.com/xiaonq/p/7978402.html#i6 1.1 安装Django 缓存模块 pip install django-redis==4.12.1 1.2 syl/se 阅读全文
posted @ 2020-10-06 20:13 洋洋洋ax 阅读(498) 评论(0) 推荐(0) 编辑
摘要: 1.COOKIE使用和优缺点 参考博客:https://www.cnblogs.com/xiaonq/p/11094480.html 1.1 cookie原理: 用户名+密码 cookie是保存在用户浏览器端,用户名和密码等明文信息 1.2 session使用原理 session是存储在服务器端的一 阅读全文
posted @ 2020-10-05 19:09 洋洋洋ax 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 概述: 1.登录接口 2.刷新接口 3.自定义返回格式 1.JWT安装配置 pip install djangorestframework-jwt==1.11.0 1.2 syl/settings.py 配置jwt载荷中的有效期设置 # jwt载荷中的有效期设置 JWT_AUTH = { # 1.t 阅读全文
posted @ 2020-10-05 18:49 洋洋洋ax 阅读(380) 评论(0) 推荐(0) 编辑
摘要: 1.1 user/urls.py 中添加路由 urlpatterns = [ path('register/', views.RegisterView.as_view()), # 注册视图, /user/register/ ] 1.2 user/views.py 中写注册视图函数 class Reg 阅读全文
posted @ 2020-10-05 18:26 洋洋洋ax 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-09-30 09:35 洋洋洋ax 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 实验楼项目搭建:django +Vue 实现需求 阅读全文
posted @ 2020-09-30 09:28 洋洋洋ax 阅读(209) 评论(0) 推荐(0) 编辑
摘要: 1.跨域原理 #1. 首先浏览器安全策略限制js ajax跨域访问服务器 #2. 如果服务器返回的头部信息中有当前域: // 允许 http://localhost:8080 这个网站打开的页面中的js访问我 Access-Control-Allow-Origin: http://localhost 阅读全文
posted @ 2020-09-29 15:18 洋洋洋ax 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 1. 始vue化项目 https://www.cnblogs.com/xiaonq/p/11027880.html vue init webpack deaxios # 使用脚手架创建项目 deaxios(项目名,随便取得) cd deaxios # 进入项目 npm install axios - 阅读全文
posted @ 2020-09-29 15:05 洋洋洋ax 阅读(487) 评论(0) 推荐(0) 编辑
摘要: 1.组件定义 1.定义组件并引用 2.父组件向子组件传值 3.子组件向父组件传值 # 组件间传值:vuex (https://www.cnblogs.com/xiaonq/p/9697921.html) 1.1 什么是组件 Html中有组件,是一段可以被复用的结构代码 中有组件,是一段可以被复用的样 阅读全文
posted @ 2020-09-29 14:44 洋洋洋ax 阅读(253) 评论(0) 推荐(0) 编辑

载入天数...载入时分秒...