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

41 lines
720 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# RegionCityService
> 城市相关服务
---
## updateRegionCityCustom
> 修改城市定制信息
- 角色:`admin`
- HTTP`POST https://backend.dooki.cloud/RegionCityService/updateRegionCityCustom`
- RPC`rpc updateRegionCityCustom(UpdateRegionCityCustomRequest) returns (RPCSuccess);`
**请求对象 (`UpdateRegionCityCustomRequest`)**
```json
{
"regionCityId": "int64",
"customName": "string",
"customCodes": "[]string"
}
```
**响应对象 (`RPCSuccess`)**
```json
{}
```
**调用示例**
```bash
curl -X POST "https://backend.dooki.cloud/RegionCityService/updateRegionCityCustom" \
-H "Content-Type: application/json" \
-H "X-Edge-Access-Token: <YOUR_TOKEN>" \
-d '{
...
}'
```
---