修正学校坐标
修正学校的经纬度,影响「附近学校」的排序结果。
| 请求方式 | GET/POST |
| 接口路径 | /api/school/update |
| Content-Type | - |
| 鉴权 | X-Nideshop-Token |
请求参数
| 参数 | 类型 | 必填 | 位置 |
id | Integer | 否 | URL 参数 |
lat | Double | 否 | URL 参数 |
lon | Double | 否 | URL 参数 |
schoolName | String | 否 | URL 参数 |
province | String | 否 | URL 参数 |
city | String | 否 | URL 参数 |
address | String | 否 | URL 参数 |
chsiSchId | Integer | 否 | URL 参数 |
orgCode | String | 否 | URL 参数 |
sdxUnivId | Integer | 否 | URL 参数 |
collegeId | Integer | 否 | URL 参数 |
contractUserId | Long | 否 | URL 参数 |
presaleWarehouseId | Integer | 否 | URL 参数 |
booklistCurl | String | 否 | URL 参数 |
booklistScript | String | 否 | URL 参数 |
booklistParamNames | String | 否 | URL 参数 |
areaId | Integer | 否 | URL 参数 |
supportLocalRecycle | Integer | 否 | URL 参数 |
priceCoefficient | BigDecimal | 否 | URL 参数 |
carbonTon | BigDecimal | 否 | URL 参数 |
carbonRank | Integer | 否 | URL 参数 |
carbonRecycleCount | Integer | 否 | URL 参数 |
carbonSoldCount | Integer | 否 | URL 参数 |
carbonTonMonth | BigDecimal | 否 | URL 参数 |
carbonRankMonth | Integer | 否 | URL 参数 |
carbonRecycleCountMonth | Integer | 否 | URL 参数 |
carbonSoldCountMonth | Integer | 否 | URL 参数 |
carbonTonWeek | BigDecimal | 否 | URL 参数 |
carbonRankWeek | Integer | 否 | URL 参数 |
carbonRecycleCountWeek | Integer | 否 | URL 参数 |
carbonSoldCountWeek | Integer | 否 | URL 参数 |
carbonStatTime | LocalDateTime | 否 | 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
}