结果包含

用于校验响应中是否包含某一字符串。


表示判断响应中是否包含值列输入的值,或是否包含多个字符串中任意一个(其中多个字符串使用符号||隔开)。如值列输入true||false

如响应body为:

BODY
"{...}":
{
"code":200,
"success":true,
"data":{
    "accountId":null,
    "sfAmount":260,
    "goodsList":[
      {
      "isLimited":false,
      "limited":false,
      "goodsId":0,
      "class":"com.netease.mygif.model.VipGoodsDTO"
      },
      {
      "isLimited":true,
      "limited":false,
      "goodsId":1,
      "class":"com.netease.mygif.model.VipGoodsDTO"
      }
    ],
    "vipRedStationingView":{
      "blackPrice":279.00,
      "a":30,
      "b":0.4,
      "c":10,
      "blackUrl":"https://m.gif.com/member/detail.html",
      "redUrl":"https://m.gif.com//member/upgrade.html",
      "curprice":228.00
    }
  }
}
Copyright © GoApi 2018 all right reserved,powered by Gitbook该文件修订时间: 2023-08-24 14:35:00

results matching ""

    No results matching ""