Skip to main content

用户权限验证工具包

Project description

常用函数包

    1. 项目根目录下必须包含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存储与验证

Project details


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-0.1.1.tar.gz (22.7 kB view details)

Uploaded Source

Built Distribution

user_auth_zxw-0.1.1-py3-none-any.whl (36.2 kB view details)

Uploaded Python 3

File details

Details for the file user_auth_zxw-0.1.1.tar.gz.

File metadata

  • Download URL: user_auth_zxw-0.1.1.tar.gz
  • Upload date:
  • Size: 22.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for user_auth_zxw-0.1.1.tar.gz
Algorithm Hash digest
SHA256 29889a81e6a7333bc59da8dd05641e94e514951b3441c701e8274fac3782f7d7
MD5 f1d1b79d9e803055866e7307658ab90f
BLAKE2b-256 8c834018b9d78b666bc34ee2458abefc71f129f6dd83bf5eb4f421c3ad14eea6

See more details on using hashes here.

File details

Details for the file user_auth_zxw-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for user_auth_zxw-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f4fa932caed95bb8aa7ba1c5978bea60fa7636bc69fce33322bf6fd1f20389db
MD5 7f56c054a1ed4fb14f4eeb5e0ba27359
BLAKE2b-256 b824ac4a899bea69b9b36e5f738156ccece7d9af4f12bdeefaf2a26cb08c00bd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page