ChengNaNA
V2EX  ›  问与答

请教一个小程序前端传参的问题

  •  
  •   ChengNaNA · Mar 28, 2022 · 1148 views
    This topic created in 1534 days ago, the information mentioned may be changed or developed.
    created_time[]: 2022-04-07
    created_time[]: 2022-04-14

    参数如上,小程序项目要参考其他后台项目接口来写传参格式,这种建名后面带[]的前端要怎么写呢?
    方法是 get ,头部也是 application/json
    1 replies    2022-03-28 16:50:44 +08:00
    gadfly3173
        1
    gadfly3173  
       Mar 28, 2022
    这个写法是 query param 吧。。。怎么可能传 json 。。。要写的话就是 url?param=1&param=2
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1021 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 18:59 · PVG 02:59 · LAX 11:59 · JFK 14:59
    ♥ Do have faith in what you're doing.