## 保存
#### 接口URL
> {{baseUrl}}/cms/preference/setting/save
#### 请求方式
> POST
#### Content-Type
> json
#### 请求Header参数
| 参数 | 示例值 | 是否必填 | 参数描述 |
| :-------- | :----- | :----- | :---- |
| Content-Type | application/json | 选填 | - |
#### 请求Body参数
```javascript
{
"key": "global_variables",
"value": {
"shop_name": "我的平台",
"shop_desc": "平台描述会展示在前台及微信分享店铺描述",
"shop_address": "我的平台地址",
"shop_beian": "网站备案信息",
"shop_logo": "",
"shop_favicon": "",
"shop_default_image": "",
"shop_mobile": "",
"store_switch": false,
"cate_style": 3,
"cate_type": 1,
"order_cancel_time": 1,
"order_complete_time": 10,
"order_autoSign_time": 10,
"order_autoEval_time": 10,
"remind_order_time": 1,
"goods_stocks_warn": 10,
"reship_name": "",
"reship_mobile": "",
"reship_area_id": "",
"reship_address": "",
"sign_point_type": 2,
"sign_random_min": 1,
"sign_random_max": 10,
"first_sign_point": 1,
"continuity_sign_additional": 1,
"sign_most_point": 10,
"point_switch": false,
"point_discounted_proportion": 10,
"orders_point_proportion": 10,
"orders_reward_proportion": 1,
"sign_appoint_date_status": false,
"sign_appoint_date": "",
"sign_appoint_data_type": 1,
"sign_appoint_date_rate": 2,
"sign_appoint_date_additional": 10,
"wx_nick_name": "JSHOP",
"wx_appid": "",
"wx_app_secret": "",
"wx_user_name": "",
"wx_principal_name": "科技有限公司",
"wx_signature": "一款标准B2C商城小程序",
"wx_official_name": "",
"wx_official_id": "",
"wx_official_appid": "",
"wx_official_app_secret": "",
"wx_official_source_id": "",
"wx_official_token": "",
"wx_official_encodeaeskey": "",
"wx_official_type": "service",
"tocash_money_low": 1,
"tocash_money_rate": 1,
"qq_map_key": "",
"kuaidi100_customer": "",
"kuaidi100_key": "",
"image_storage_type": "Local",
"image_storage_params": "",
"recommend_keys": "羽绒服 iphone 小米mix",
"statistics_code": "",
"invoice_switch": false,
"wx_app_appid": ""
}
}
```
## 明细
#### 接口URL
> {{baseUrl}}/cms/preference/setting/get
#### 请求方式
> POST
#### Content-Type
> json
#### 请求Header参数
| 参数 | 示例值 | 是否必填 | 参数描述 |
| :-------- | :----- | :----- | :---- |
| Content-Type | application/json | 选填 | - |
#### 请求Body参数
```javascript
{
"key": "global_variables"
}
```
## 保存
#### 接口URL
> {{baseUrl}}/cms/preference/setting/save
#### 请求方式
> POST
#### Content-Type
> json
#### 请求Header参数
| 参数 | 示例值 | 是否必填 | 参数描述 |
| :-------- | :----- | :----- | :---- |
| Content-Type | application/json | 选填 | - |
#### 请求Body参数
```javascript
{
"key": "global_variables",
"value": {
"shop_name": "我的平台",
"shop_desc": "平台描述会展示在前台及微信分享店铺描述",
"shop_address": "我的平台地址",
"shop_beian": "网站备案信息",
"shop_logo": "",
"shop_favicon": "",
"shop_default_image": "",
"shop_mobile": "",
"store_switch": false,
"cate_style": 3,
"cate_type": 1,
"order_cancel_time": 1,
"order_complete_time": 10,
"order_autoSign_time": 10,
"order_autoEval_time": 10,
"remind_order_time": 1,
"goods_stocks_warn": 10,
"reship_name": "",
"reship_mobile": "",
"reship_area_id": "",
"reship_address": "",
"sign_point_type": 2,
"sign_random_min": 1,
"sign_random_max": 10,
"first_sign_point": 1,
"continuity_sign_additional": 1,
"sign_most_point": 10,
"point_switch": false,
"point_discounted_proportion": 10,
"orders_point_proportion": 10,
"orders_reward_proportion": 1,
"sign_appoint_date_status": false,
"sign_appoint_date": "",
"sign_appoint_data_type": 1,
"sign_appoint_date_rate": 2,
"sign_appoint_date_additional": 10,
"wx_nick_name": "JSHOP",
"wx_appid": "",
"wx_app_secret": "",
"wx_user_name": "",
"wx_principal_name": "科技有限公司",
"wx_signature": "一款标准B2C商城小程序",
"wx_official_name": "",
"wx_official_id": "",
"wx_official_appid": "",
"wx_official_app_secret": "",
"wx_official_source_id": "",
"wx_official_token": "",
"wx_official_encodeaeskey": "",
"wx_official_type": "service",
"tocash_money_low": 1,
"tocash_money_rate": 1,
"qq_map_key": "",
"kuaidi100_customer": "",
"kuaidi100_key": "",
"image_storage_type": "Local",
"image_storage_params": "",
"recommend_keys": "羽绒服 iphone 小米mix",
"statistics_code": "",
"invoice_switch": false,
"wx_app_appid": ""
}
}
```
## 明细
#### 接口URL
> {{baseUrl}}/cms/preference/setting/get
#### 请求方式
> POST
#### Content-Type
> json
#### 请求Header参数
| 参数 | 示例值 | 是否必填 | 参数描述 |
| :-------- | :----- | :----- | :---- |
| Content-Type | application/json | 选填 | - |
#### 请求Body参数
```javascript
{
"key": "global_variables"
}
```