🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
## 保存 #### 接口URL > {{baseUrl}}/cms/preference/area/save #### 请求方式 > POST #### Content-Type > json #### 请求Header参数 | 参数 | 示例值 | 是否必填 | 参数描述 | | :-------- | :----- | :----- | :---- | | Content-Type | application/json | 选填 | - | #### 请求Body参数 ```javascript { "value": "ios", "label": "0.0.2", "type": "1.0.0", "description": "测试2", "sort": 0, "remark": "" } ``` ## 删除 #### 接口URL > {{baseUrl}}/cms/preference/area/delete #### 请求方式 > POST #### Content-Type > json #### 请求Header参数 | 参数 | 示例值 | 是否必填 | 参数描述 | | :-------- | :----- | :----- | :---- | | Content-Type | application/json | 选填 | - | #### 请求Body参数 ```javascript { "ids":[3] } ``` ## 明细 #### 接口URL > {{baseUrl}}/cms/preference/area/get #### 请求方式 > POST #### Content-Type > json #### 请求Header参数 | 参数 | 示例值 | 是否必填 | 参数描述 | | :-------- | :----- | :----- | :---- | | Content-Type | application/json | 选填 | - | #### 请求Body参数 ```javascript { "id": 1 } ``` ## 列表树 #### 接口URL > {{baseUrl}}/cms/preference/area/get_tree #### 请求方式 > POST #### Content-Type > json #### 请求Header参数 | 参数 | 示例值 | 是否必填 | 参数描述 | | :-------- | :----- | :----- | :---- | | Content-Type | application/json | 选填 | - | #### 请求Body参数 ```javascript { } ``` ## 列表(异步加载) #### 接口URL > {{baseUrl}}/cms/preference/area/list #### 请求方式 > POST #### Content-Type > json #### 请求Header参数 | 参数 | 示例值 | 是否必填 | 参数描述 | | :-------- | :----- | :----- | :---- | | Content-Type | application/json | 选填 | - | #### 请求Body参数 ```javascript { "searchKey": {"parentId":0} } ```