41 lines
764 B
Markdown
41 lines
764 B
Markdown
# RegionCountryService
|
||
> 国家/地区相关服务
|
||
|
||
---
|
||
|
||
## updateRegionCountryCustom
|
||
> 修改国家/地区定制信息
|
||
|
||
- 角色:`admin`
|
||
- HTTP:`POST https://backend.dooki.cloud/RegionCountryService/updateRegionCountryCustom`
|
||
- RPC:`rpc updateRegionCountryCustom(UpdateRegionCountryCustomRequest) returns (RPCSuccess);`
|
||
|
||
**请求对象 (`UpdateRegionCountryCustomRequest`)**
|
||
|
||
```json
|
||
{
|
||
"regionCountryId": "int64",
|
||
"customName": "string",
|
||
"customCodes": "[]string"
|
||
}
|
||
```
|
||
|
||
**响应对象 (`RPCSuccess`)**
|
||
|
||
```json
|
||
{}
|
||
```
|
||
|
||
**调用示例**
|
||
|
||
```bash
|
||
curl -X POST "https://backend.dooki.cloud/RegionCountryService/updateRegionCountryCustom" \
|
||
-H "Content-Type: application/json" \
|
||
-H "X-Edge-Access-Token: <YOUR_TOKEN>" \
|
||
-d '{
|
||
...
|
||
}'
|
||
```
|
||
|
||
---
|