V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
zxCoder
V2EX  ›  问与答

接口接收参数 返回数据都用 json/map/dictionary 可以吗

  •  
  •   zxCoder · Jan 31, 2021 · 841 views
    This topic created in 1913 days ago, the information mentioned may be changed or developed.

    还是需要定义不同的 DTO ?

    1 replies    2021-02-01 09:56:35 +08:00
    killergun
        1
    killergun  
       Feb 1, 2021
    这后面都不好维护,都不知道返回哪些字段及其字段也不好标注注释
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3519 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 11:44 · PVG 19:44 · LAX 04:44 · JFK 07:44
    ♥ Do have faith in what you're doing.