{
"chat_logo": "http://www.php-cw.localhost/resource/image/adminap...",
"chat_default": "http://www.php-cw.localhost/resource/image/adminap...",
"chat_example": "http://www.php-cw.localhost/resource/image/adminap...",
"model_example": "http://www.php-cw.localhost/resource/image/adminap...",
"global_directives": "",
"price_unit": "",
"is_reopen": 0,
"default_reply_open": 0,
"default_reply": "",
"is_show_model": 0,
"chat_title": "",
"global_directives_model": {
"gpt3.5": "gpt3.5",
"gpt4.0": "gpt4.0",
"api2d3.5": "api2d3.5",
"api2d4.0": "api2d4.0",
"zhipu": "智普AI",
"xunfei": "讯飞星火",
"baidu": "文心一言",
"qwen": "通义千问",
"doubao": "字节豆包",
"ollama": "Ollama",
"azure": "Azure",
"minimax": "MiniMax"
},
"watermark": "内容由AI生成仅供参考",
"min_consume_status": 0,
"min_consume_price": "",
"min_consume_tips": ""
}
curl --location --request POST '/adminapi/setting.ai.chat/save' \
--header 'token: {{admin-token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"chat_logo": "http://www.php-cw.localhost/resource/image/adminap...",
"chat_default": "http://www.php-cw.localhost/resource/image/adminap...",
"chat_example": "http://www.php-cw.localhost/resource/image/adminap...",
"model_example": "http://www.php-cw.localhost/resource/image/adminap...",
"global_directives": "",
"price_unit": "",
"is_reopen": 0,
"default_reply_open": 0,
"default_reply": "",
"is_show_model": 0,
"chat_title": "",
"global_directives_model": {
"gpt3.5": "gpt3.5",
"gpt4.0": "gpt4.0",
"api2d3.5": "api2d3.5",
"api2d4.0": "api2d4.0",
"zhipu": "智普AI",
"xunfei": "讯飞星火",
"baidu": "文心一言",
"qwen": "通义千问",
"doubao": "字节豆包",
"ollama": "Ollama",
"azure": "Azure",
"minimax": "MiniMax"
},
"watermark": "内容由AI生成仅供参考",
"min_consume_status": 0,
"min_consume_price": "",
"min_consume_tips": ""
}'
{
"code": 1,
"show": 1,
"msg": "保存成功",
"data": []
}