{
"provider": "amap",
"config": {
"app_key": "YOUR_APP_KEY",
"app_secret": "YOUR_APP_SECRET",
"web_key": "YOUR_WEB_KEY"
},
"is_default": 1
}
curl --location --request POST '/adminapi/system/lbs-provider/update' \
--header 'access-token: {{access-token}}' \
--header 'refresh-token: {{refresh-token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"provider": "amap",
"config": {
"app_key": "YOUR_APP_KEY",
"app_secret": "YOUR_APP_SECRET",
"web_key": "YOUR_WEB_KEY"
},
"is_default": 1
}'
{
"code": 200,
"msg": "配置更新成功"
}