rxswift
V2EX  ›  问与答

Python 新手,使用 restfulframework 写接口,写一个接口就写一个 class,大家都是这样吗

  •  
  •   rxswift · Apr 8, 2022 · 1825 views
    This topic created in 1600 days ago, the information mentioned may be changed or developed.
    都是 post 请求,一个接口就写一个 class
    比如这样
    class networking(APIView):
    def post(self, request):
    ...
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1652 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 16:29 · PVG 00:29 · LAX 09:29 · JFK 12:29
    ♥ Do have faith in what you're doing.