social/get-nearby-people

Description

  • Obtain a list of nearby users.

Request URL

  • http://127.0.0.1:8888/api/

Request Method

  • POST

Parameters

Parameter NameRequiredParameter TypeDescription
typeYesintAPI ID
longitudeYesfloatlongitude
latitudeYesfloatlatitude
userTypeNointSearchType,default:1

搜索类型

SearchTypeEnumeration Value
All1
Male Only3
Female Only4

Request Example

 {
  "type": 19,
  "longitude": 104.005,
  "latitude": 38.005,
  "userType": 1
 } 

Return Example

  {
    "data": {
      "status": 0,
      "desc": "",
      "data": []
    }
  }

Return Parameter Description

Parameter NameParameter TypeDescription
error_codeintError code
descriptionstringError Description
datajsonBusiness data

Remark