# -*- coding : utf-8 -*-
# @author : gaozhigang
# @datetime : 2022/4/13 16:26
# @file : yanhzeng.py
# @Software : Pycharm
# 验证器轮子底层代码,负责寻找验证方法,
# 和验证传入的对应请求(get,post等)参数的具体验证。
class VerificationDatabase(object):
def __init__(self, type):
super().__init__()
self.type = type
def __call__(self, fun):
def run(*args, **kwargs):
if len
django 自定义view层请求参数验证器
最新推荐文章于 2024-06-14 00:05:31 发布