# ginger **Repository Path**: excel2016/ginger ## Basic Information - **Project Name**: ginger - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-06-19 - **Last Updated**: 2024-06-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Python Flask高级编程之RESTFul API前后端分离精讲 课程地址 [Python Flask高级编程之RESTFul API前后端分离精讲_课程 (imooc.com)](https://coding.imooc.com/learn/list/220.html) ## 配置 requirements.txt ```txt flask==3.0.3 flask-sqlalchemy==3.1.1 flask-wtf==1.2.1 cymysql==1.0.1 flask-cors==4.0.1 flask-httpauth==4.8.0 requests==2.32.3 email_validator==2.1.1 authlib==1.3.1 ``` 虚拟环境 ```shell # 安装pipenv pip install pipenv # 创建虚拟环境 pipenv install # 查看安装的包 pipenv graph # 查看虚拟路径 pipenv --venv ``` ![1718357144335](https://gitee.com/excel2016/ginger/raw/master/README.assets/1718357144335.png) ## 错误码 `error_code` ```markdown 0 没有错误 1 删除成功 999 未知错误 1000 无效参数 1001 这个资源没有找到 1002 Token验证失败 1003 Token已过期 1004 权限不够 1005 授权失败 1006 客户端类型错误 2001 已经赠送过书籍 ```