Closed hp66722667 closed 5 years ago
class Item(MethodView): .... 类名应该是 class ItemAPI() 因为下面的add_url_rule()中是 view_func=ItemAPI.as_view('item_api')
class Item(MethodView): ....
class ItemAPI()
已更新到勘误,感谢反馈。
class Item(MethodView): ....
类名应该是class ItemAPI()
因为下面的add_url_rule()中是 view_func=ItemAPI.as_view('item_api')