雨悸
雨悸
  • 发布:2021-01-26 11:11
  • 更新:2021-01-26 11:11
  • 阅读:535

安卓手机 poiSearchNearBy 返回参数没有code和totalNumber ,ios正常

分类:uni-app

安卓手机 poiSearchNearBy 返回参数没有code和totalNumber

返回的结果如下:

{  
    "poiList": [{  
        "location": {  
            "longitude": 102.780448,  
            "latitude": 24.938186  
        },  
        "postcode": "",  
        "adcode": "530111",  
        "city": "昆明市",  
        "name": "商启街与商英街交叉口",  
        "phone": "",  
        "province": "云南省",  
        "distance": 35,  
        "address": "官渡区",  
        "district": "530000",  
        "typecode": "190302"  
    }, {  
        "location": {  
            "longitude": 102.780284,  
            "latitude": 24.938474  
        },  
        "postcode": "",  
        "adcode": "530111",  
        "city": "昆明市",  
        "name": "俊发·新螺蛳湾国际商贸城精品二区16栋停车场",  
        "phone": "",  
        "province": "云南省",  
        "distance": 69,  
        "address": "商启街与商英街交叉口西北50米",  
        "district": "530000",  
        "typecode": "150904"  
    }, {  
        "location": {  
            "longitude": 102.780189,  
            "latitude": 24.938389  
        },  
        "postcode": "",  
        "adcode": "530111",  
        "city": "昆明市",  
        "name": "俊发·新螺蛳湾国际商贸城精品二区停车场",  
        "phone": "",  
        "province": "云南省",  
        "distance": 70,  
        "address": "商启街与商英街交叉口西北50米",  
        "district": "530000",  
        "typecode": "150904"  
    }, {  
        "location": {  
            "longitude": 102.779872,  
            "latitude": 24.93827  
        },  
        "postcode": "",  
        "adcode": "530111",  
        "city": "昆明市",  
        "name": "停车场\\(商启街\\)",  
        "phone": "",  
        "province": "云南省",  
        "distance": 92,  
        "address": "商启街与商英街交叉口西100米",  
        "district": "530000",  
        "typecode": "150904"  
    }, {  
        "location": {  
            "longitude": 102.780593,  
            "latitude": 24.936742  
        },  
        "postcode": "",  
        "adcode": "530111",  
        "city": "昆明市",  
        "name": "新螺蛳湾商贸城精品区停车场",  
        "phone": "",  
        "province": "云南省",  
        "distance": 141,  
        "address": "商贸城精品区",  
        "district": "530000",  
        "typecode": "150904"  
    }, {  
        "location": {  
            "longitude": 102.779545,  
            "latitude": 24.937283  
        },  
        "postcode": "",  
        "adcode": "530111",  
        "city": "昆明市",  
        "name": "住宿停车",  
        "phone": "",  
        "province": "云南省",  
        "distance": 145,  
        "address": "精品街10号附近",  
        "district": "530000",  
        "typecode": "150900"  
    }, {  
        "location": {  
            "longitude": 102.780931,  
            "latitude": 24.936655  
        },  
        "postcode": "",  
        "adcode": "530111",  
        "city": "昆明市",  
        "name": "商杰街与商英街交叉口",  
        "phone": "",  
        "province": "云南省",  
        "distance": 151,  
        "address": "官渡区",  
        "district": "530000",  
        "typecode": "190302"  
    }, {  
        "location": {  
            "longitude": 102.779975,  
            "latitude": 24.93919  
        },  
        "postcode": "",  
        "adcode": "530111",  
        "city": "昆明市",  
        "name": "俊发新螺蛳湾国际商贸城精品2区地下停车场\\(出口\\)",  
        "phone": "",  
        "province": "云南省",  
        "distance": 152,  
        "address": "商启街与商英街交叉口西北150米",  
        "district": "530000",  
        "typecode": "150908"  
    }, {  
        "location": {  
            "longitude": 102.779166,  
            "latitude": 24.93816  
        },  
        "postcode": "",  
        "adcode": "530111",  
        "city": "昆明市",  
        "name": "旅游机票",  
        "phone": "",  
        "province": "云南省",  
        "distance": 159,  
        "address": "精品街4栋附近",  
        "district": "530000",  
        "typecode": "070301"  
    }, {  
        "location": {  
            "longitude": 102.78045,  
            "latitude": 24.936564  
        },  
        "postcode": "",  
        "adcode": "530111",  
        "city": "昆明市",  
        "name": "商杰街",  
        "phone": "",  
        "province": "云南省",  
        "distance": 163,  
        "address": "官渡区",  
        "district": "530000",  
        "typecode": "190301"  
    }],  
    "currentNumber": 10,  
    "pageIndex": 1,  
    "pageNumber": 19  
}

文档里面明明写了有的,https://uniapp.dcloud.io/api/location/map?id=mapsearch-%e6%a8%a1%e5%9d%97

2021-01-26 11:11 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复