- 后台接口
- 前台接口
- 【新】后台接口
- AI设置
- AI知识库
- 模型计费(旧)
- 模型管理
- 对话管理
- 创作管理
- 充值套餐
- 注册奖励
- 用户管理
- 用户分组
- 财务中心
- 其它接口
- 系统设置
- AI音乐
- AI搜索
- AIPPT
- 会员套餐
- 思维导图
- AI视频
- 分享设置
- 空间设置
- 任务分享记录
- AI绘画
- 广场分类
- 【新】前台接口
客服保存
开发中
POST
/adminapi/setting.customer/save
请求参数
Header 参数
token
string
可选
示例值:
{{admin-token}}
Body 参数application/json
manual_kf
object
人工客服
status
integer
必需
icons
string
悬浮图标
qr_code
string
二维码图片
title
object
客服标题
phone
object
联系电话
service_time
object
服务时间
online_kf
object
在线客服
status
integer
必需
icons
string
悬浮图标
link
string
客服链接
示例
{
"manual_kf": {
"status": 0,
"icons": "",
"qr_code": "",
"title": {
"value": "添加客服二维码11",
"status": "1"
},
"phone": {
"value": "13811138111",
"status": "1"
},
"service_time": {
"value": "6:30-10:30",
"status": "1"
}
},
"online_kf": {
"status": 0,
"icons": "",
"link": ""
}
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/adminapi/setting.customer/save' \
--header 'token: {{admin-token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"manual_kf": {
"status": 0,
"icons": "",
"qr_code": "",
"title": {
"value": "添加客服二维码11",
"status": "1"
},
"phone": {
"value": "13811138111",
"status": "1"
},
"service_time": {
"value": "6:30-10:30",
"status": "1"
}
},
"online_kf": {
"status": 0,
"icons": "",
"link": ""
}
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
show
integer
必需
msg
string
必需
data
array[string]
必需
示例
{
"code": 1,
"show": 1,
"msg": "设置成功",
"data": []
}