rxswift
V2EX  ›  问与答

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

  •  
  •   rxswift · Apr 8, 2022 · 1739 views
    This topic created in 1564 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   ·   1064 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 22:48 · PVG 06:48 · LAX 15:48 · JFK 18:48
    ♥ Do have faith in what you're doing.