码迷,mamicode.com
首页 > 其他好文 > 详细

is neither an array nor a List nor a Map

时间:2019-12-31 21:36:05      阅读:354      评论:0      收藏:0      [点我收藏+]

标签:params   res   tom   address   ams   sid   tar   rtti   list   

let params = {}
      params[‘busLine.name‘] = ‘测试自定义线路‘
      params[‘busLine.beginDate‘] = ‘2019-12-12‘
      params[‘busLine.endDate‘] = ‘2019-12-12‘
      params[‘busLine.lineType‘] = ‘1‘
      params[‘busLine.startTime‘] = ‘09:00‘
      params[‘busLine.busId‘] = ‘544b0b9c348d8c706b452c0f035119ef‘
      params[‘busLineStations[0].stationName‘] = ‘ssss‘
      params[‘busLineStations[0].latitude‘] = ‘1‘
      params[‘busLineStations[0].address‘] = ‘2‘
      params[‘busLineStations[0].longitude‘] = ‘3‘
      params[‘busLineStations[0].arriveTime‘] = ‘08:00‘

      custom(params).then(res => {
        console.log(res) // 这是接口
      })

  

is neither an array nor a List nor a Map

标签:params   res   tom   address   ams   sid   tar   rtti   list   

原文地址:https://www.cnblogs.com/xiaojf/p/12127297.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!