用户权限验证工具包
Project description
常用函数包
-
- 项目根目录下必须包含config.py文件
-
支付接口编写规范: 支付服务_代码规范.py
更细说明
- 0.0.6.5 :
- 去掉地址中冗余地址../api/...
- tags优化
- 0.0.6.6 :
- 新增:add_new_role函数, 新增app name, 用户权限
- 0.0.6.7 :
-
- 新增:delete_role函数, 解除用户权限(只解除关联, 不删除role表)
- 0.0.6.8 :
-
- 新增:require_roles函数, 批量验证权限
- 0.0.6.9 :
-
- bug fix : 注册登录 import add_new_role
- 0.0.7 :
-
- bug fix : add new role
- 0.0.7.1:
-
- 新增api: /register-or-login-phone/ 手机号注册或登录
- 0.0.7.2:
-
- 取消get_current_user的print(token)
- 0.0.7.3:
-
- 上传vue前端页面
- 0.0.7.4:
-
- 优化configs.py导入
- 0.0.8: 新增:批量删除用户角色(delete_roles)
- 0.0.9: 表结构User新增字段:referer_id,referer,invitees , 手机号注册登录新增相应字段. 对应功能: 增加邀请人信息
- 0.1.0: 修改: jwt验证失败, 弹出401 HTTPException_AppToolsSZXW异常
- 0.1.1: 支持多线程任务,集成修改: 短信验证码验证,redis存储与验证
非兼容性更新,与之前的版本不兼容
1.0.0以上版本,适配VUE-ELEMENT-PLUS-ADMIN框架
- 1.0.0: 统一API返回值, 符合vue-element-plus-admin框架原生标准 返回值格式: { "code": 200, "data": {} }
- 1.0.1: 新增vue-element-plus-admin api: 退出登录
- 1.0.2: 优化: 账号密码注册登录返回值; BUG fix - 变更数据表结构:Role采用联合主键:(app_id, name)
-
- 与VUE-ELEMENT-PLUS-ADMIN框架保持一致,完成账号密码注册登录API对接
- 1.0.3: bug fix
-
- 新用户注册后,to_payload()报错;
- -优化: 用户角色关联数据加载
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
user_auth_zxw-1.0.3.tar.gz
(24.6 kB
view details)
Built Distribution
File details
Details for the file user_auth_zxw-1.0.3.tar.gz
.
File metadata
- Download URL: user_auth_zxw-1.0.3.tar.gz
- Upload date:
- Size: 24.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e16c928d3aea35f216064465b2f4a3858f4e00b93094582df43a0a613493d0d6 |
|
MD5 | 63ccb209b169abfd7b5a2301266f4399 |
|
BLAKE2b-256 | 683d3c772efbd2bc4e92100396143d612ea81a73bfd986e1d61e1a7a6e246433 |
File details
Details for the file user_auth_zxw-1.0.3-py3-none-any.whl
.
File metadata
- Download URL: user_auth_zxw-1.0.3-py3-none-any.whl
- Upload date:
- Size: 39.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3233be5554e47bbfdfc5866615ee2907f98fba1af5537e4bb0e764bf215f1bf8 |
|
MD5 | 315d77395624720677fc62c5132456cb |
|
BLAKE2b-256 | f0a010c3f9b53acd6892970c4fcccd441622f4125c18a75c0e58656b3d682747 |