版权声明:转载请标明 https://blog.csdn.net/weixin_42068613/article/details/83016582
AssertionError: View function mapping is overwriting an existing endpoint function: basedata.wrapper:命名相同问题
解决方案:
1.路由名相同或者函数名相同
2.自定义python装饰器时一定要使用@functools.wraps(func)修饰wrapper