Files
pyGoEdge-UserPanel/reference/goedge 文档/RegionCityService.md
2025-11-18 03:36:49 +08:00

720 B
Raw Permalink Blame History

RegionCityService

城市相关服务


updateRegionCityCustom

修改城市定制信息

  • 角色:admin
  • HTTPPOST https://backend.dooki.cloud/RegionCityService/updateRegionCityCustom
  • RPCrpc updateRegionCityCustom(UpdateRegionCityCustomRequest) returns (RPCSuccess);

请求对象 (UpdateRegionCityCustomRequest)

{
  "regionCityId": "int64",
  "customName": "string",
  "customCodes": "[]string"
}

响应对象 (RPCSuccess)

{}

调用示例

curl -X POST "https://backend.dooki.cloud/RegionCityService/updateRegionCityCustom" \
  -H "Content-Type: application/json" \
  -H "X-Edge-Access-Token: <YOUR_TOKEN>" \
  -d '{
    ...
  }'