随笔分类 - Luffy
摘要:Celery 一、简介 1、官方 Celery 官网:http://www.celeryproject.org/ Celery 官方文档英文版:http://docs.celeryproject.org/en/latest/index.html Celery 官方文档中文版:http://docs.
阅读全文
摘要:Redis 一、redis简单使用 1、下载 radic :https://github.com/tporadowski/redis/releases Redis可视化工具 Redis Desktop Manager: http://pan.baidu.com/s/1kU8sY3P 2、redis介
阅读全文
摘要:13 后端短信接口 一、短信接口 1、user/views.py from rest_framework.viewsets import ViewSet from luffyapi.utils.response import APIResponse from rest_framework.decor
阅读全文
摘要:12 登录注册之腾讯云短信开发 一、腾讯云短信开发 1、短信服务应用申请 """ 准备工作 1)创建短信应用 - 应用管理 2)申请短信签名 - 国内短信 > 签名管理 3)申请短信模块 - 国内短信 > 正文模板管理 """ https://mp.weixin.qq.com/ # 需要先注册一个公
阅读全文
摘要:day11 luffy之手机是否存在验证接口 一、手机号验证接口 1、user/urls.py from django.urls import path from rest_framework.routers import SimpleRouter from . import views route
阅读全文
摘要:day10 前端登录注册(功能详解) 一、前端 安装:前端项目目录下的终端 cnpm install vue-cookies 配置:main.js import cookies from 'vue-cookies' Vue.prototype.$cookies = cookies; 登录功能(Log
阅读全文
摘要:10 登录注册之多方式登录 一、后端 1、插件 >: pip install djangorestframework-jwt 2、多方式登录第一种方式 2.1、user/urls.py from rest_framework.routers import SimpleRouter from . im
阅读全文
摘要:09 登录注册 一、模态登录组件 <template> <div class="login"> <div class="box"> <i class="el-icon-close" @click="close_login"></i> <div class="content"> <div class=
阅读全文
摘要:day08 Git使用 一、git 1、简介 """ 什么是git:版本控制器 - 控制的对象是开发的项目代码 代码开发时间轴:需求1 => 版本库1 ==> 需求2 => 版本库2 => 版本库3(版本库1) => 版本库4(版本库2) """ 2、git工作流程 3、版本库间的通信 4、git分
阅读全文
摘要:07 后台主页模块设计 一、Banner数据表model设计 1、utils/model.py from django.db import models # 因为考虑后期课程表,轮播图都会用到这些字段 class BaseModel(models.Model): create_time = mode
阅读全文
摘要:06 路飞组件实施和git的使用 一、准备图片 https://gitee.com/liuqingzheng/luffy/ 二、路飞项目头部组件 1、页头组件:components/Header.vue <template> <div class="header"> <div class="slog
阅读全文
摘要:05 luffy后台配置 一、封装response和异常处理 1、utils/response.py:封装response 1、安装rest_framework pip install djangorestframework from rest_framework.response import R
阅读全文
摘要:day04 kuffy前台搭建 一、kuffy前台搭建 1、vue环境 # 在cmd中执行 1.傻瓜式安装node: 官网下载:https://nodejs.org/zh-cn/ 测试:node-v v16.14.0 2.安装cnpm: >: npm install -g cnpm --regist
阅读全文
摘要:day03 user模块User表 一、User表配置 1、创建User表对应的model:user/models.py from django.db import models from django.contrib.auth.models import AbstractUser class Us
阅读全文
摘要:02 luffy数据库 一、数据库配置 1、创建数据库 """ 1.管理员连接数据库 >: mysql -uroot -p123 2.创建数据库 >: create database luffyapi; 3.查看用户 >: select user,host,password from mysql.u
阅读全文
摘要:一、pip换源 1、介绍 """ 1、采用国内源,加速下载模块的速度 2、常用pip源: -- 豆瓣:https://pypi.douban.com/simple -- 阿里:https://mirrors.aliyun.com/pypi/simple 3、加速安装的命令: -- >: pip in
阅读全文
摘要:0 开发流程 1、路飞项目基础之企业项目类型,开发流程 # 企业中项目类型: -单机版的工具(其他部门使用的工具): -GUI开发:Tkinter,pyqt:Qt平台 -Web项目 -商城 -B2C 直销商城 商家与会员直接交易 ( Business To Customer ) -B2B 批发商城
阅读全文