猿问

后台给了这样的请求参数,请问这种请求参数应该怎么传参

{

  "cardId": 0,

  "cardNo": "string",

  "costPointsTotal": 0,

  "detailList": [

    {

      "costPointsNum": 0,

      "exchangeNum": 0,

      "schemeId": 0

    }

  ],

  "memberMobile": "string",

  "memberName": "string",

  "txNo": "string"

}

detailList 那个地方应该怎么传 能否给写一个例子


海绵宝宝撒
浏览 744回答 2
2回答

慕娘9325324

get请求的话只能拼接urldetailList[0].costPointsNum=0&detailList[0].exchangeNum=0&detailList[0].schemeId=0
随时随地看视频慕课网APP

相关分类

JavaScript
我要回答