开放平台

扒书 ERP Open API

修正学校坐标

修正学校的经纬度,影响「附近学校」的排序结果。

请求方式GET/POST
接口路径/api/school/update
Content-Type-
鉴权X-Nideshop-Token

请求参数

参数类型必填位置
idInteger否URL 参数
latDouble否URL 参数
lonDouble否URL 参数
schoolNameString否URL 参数
provinceString否URL 参数
cityString否URL 参数
addressString否URL 参数
chsiSchIdInteger否URL 参数
orgCodeString否URL 参数
sdxUnivIdInteger否URL 参数
collegeIdInteger否URL 参数
contractUserIdLong否URL 参数
presaleWarehouseIdInteger否URL 参数
booklistCurlString否URL 参数
booklistScriptString否URL 参数
booklistParamNamesString否URL 参数
areaIdInteger否URL 参数
supportLocalRecycleInteger否URL 参数
priceCoefficientBigDecimal否URL 参数
carbonTonBigDecimal否URL 参数
carbonRankInteger否URL 参数
carbonRecycleCountInteger否URL 参数
carbonSoldCountInteger否URL 参数
carbonTonMonthBigDecimal否URL 参数
carbonRankMonthInteger否URL 参数
carbonRecycleCountMonthInteger否URL 参数
carbonSoldCountMonthInteger否URL 参数
carbonTonWeekBigDecimal否URL 参数
carbonRankWeekInteger否URL 参数
carbonRecycleCountWeekInteger否URL 参数
carbonSoldCountWeekInteger否URL 参数
carbonStatTimeLocalDateTime否URL 参数

curl 调用

curl -s 'https://www.8shu8.com/api/school/update?id=1&lat=xxx&lon=xxx&schoolName=xxx&province=xxx&city=xxx&address=xxx&chsiSchId=1&orgCode=xxx&sdxUnivId=1&collegeId=1&contractUserId=1&presaleWarehouseId=1&booklistCurl=xxx&booklistScript=xxx&booklistParamNames=xxx&areaId=1&supportLocalRecycle=1&priceCoefficient=xxx&carbonTon=xxx&carbonRank=1&carbonRecycleCount=1&carbonSoldCount=1&carbonTonMonth=xxx&carbonRankMonth=1&carbonRecycleCountMonth=1&carbonSoldCountMonth=1&carbonTonWeek=xxx&carbonRankWeek=1&carbonRecycleCountWeek=1&carbonSoldCountWeek=1&carbonStatTime=xxx' \
  -H 'X-Nideshop-Token: YOUR_LOGIN_TOKEN'

响应示例

{
  "code": 200,
  "message": "操作成功",
  "success": true,
  "data": true
}