摘要: 1.注册账号 注册新浪微博账号 进入首页。创建网站接入的应用 新浪微博开放平台:https://open.weibo.com/ 基本信息页面: https://open.weibo.com/apps/3516473472/info/advanced 2.接口文档 查看接口文档 https://ope 阅读全文
posted @ 2020-10-09 19:13 洋洋洋ax 阅读(680) 评论(0) 推荐(0) 编辑
摘要: https://api.weibo.com/oauth2/authorize? client_id=4122644977 &response_type=code &state=study& forcelogin=true& '''redirect_uri=https%3A%2F%2Fstudy.16 阅读全文
posted @ 2020-10-09 19:02 洋洋洋ax 阅读(426) 评论(0) 推荐(0) 编辑
摘要: create user root@'%' identified by '1'; create user root@'%' identified by '1'; flush privileges; grant all on *.* to 'root'@'%'; 阅读全文
posted @ 2020-10-09 07:44 洋洋洋ax 阅读(356) 评论(0) 推荐(0) 编辑
摘要: 1.pipeline原理 #redis基本语法:https://www.cnblogs.com/xiaonq/p/7919111.html #redis四篇:https://www.cnblogs.com/xiaonq/category/1544586.html 1.1 redis发送数据原理 Re 阅读全文
posted @ 2020-10-08 11:05 洋洋洋ax 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 先明白原理在cv代码,你就是能恰饭 阅读全文
posted @ 2020-10-08 10:57 洋洋洋ax 阅读(391) 评论(0) 推荐(0) 编辑
摘要: 1.完善注册接口 1.1 修改user/views.py中完善视图函数 # 注册接口 class RegisterView(APIView): """ 用户注册, 权限是: 匿名用户可访问 """ # 自定义权限类 permission_classes = (AllowAny,) def post( 阅读全文
posted @ 2020-10-07 21:27 洋洋洋ax 阅读(201) 评论(0) 推荐(0) 编辑
摘要: #前端函数如下,js方法代码无需更改,前端代码逻辑components\common\lab_header.vue`#只需要修改components\axios_api\http.js中调用的后端地址 // axios.defaults.baseURL = "http://127.0.0.1:800 阅读全文
posted @ 2020-10-07 21:26 洋洋洋ax 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 1.1 在user/urls.py中添加 urlpatterns = [ path('count/', views.RegCountView.as_view()), # 查询用户名手机号使用量的视图, /user/count/ ] 1.2 在user/views.py中添加视图函数 # 查询用户数量 阅读全文
posted @ 2020-10-07 21:22 洋洋洋ax 阅读(264) 评论(0) 推荐(0) 编辑
摘要: 前端函数如下,js方法代码无需更改,前端代码逻辑在components\common\lab_header.vue 只需要修改components\axios_api\http.js中调用的后端地址 // axios.defaults.baseURL = "http://127.0.0.1:8000 阅读全文
posted @ 2020-10-07 21:20 洋洋洋ax 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 1.1 安装celery pip install celery @ https://github.com/celery/celery/tarball/master 1.2 新建celery/main.py配置celery # celery_task/main.py import os from ce 阅读全文
posted @ 2020-10-07 21:13 洋洋洋ax 阅读(171) 评论(1) 推荐(0) 编辑

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