网站信息保存
开发中POST
/adminapi/setting.website/setWebsite请求参数
Header 参数
token
string
可选
示例值:
{{adminToken}}
Body 参数application/json
name
string
网站名称
web_favicon
string
站点图标
web_logo
string
网站Logo
login_image
string
登录页广告图
pc_logo
string
PC端Logo
pc_title
string
PC端名称
pc_ico
string
PC端图标
pc_cover
string
PC端登录封面
pc_desc
string
PC端描述
pc_keywords
string
PC端关键词
示例
{
"name": "likeadmin",
"web_favicon": "http://www.php-ws.localhost/resource/image/adminapi/default/web_favicon.ico",
"web_logo": "http://www.php-ws.localhost/resource/image/adminapi/default/web_logo.jpg",
"login_image": "http://www.php-ws.localhost/resource/image/adminapi/default/login_image.png",
"pc_logo": "http://www.php-ws.localhost/resource/image/adminapi/default/pc_logo.png",
"pc_title": "",
"pc_ico": "http://www.php-ws.localhost/resource/image/adminapi/default/web_favicon.ico",
"pc_cover": "http://www.php-ws.localhost/resource/image/adminapi/default/web_favicon.ico",
"pc_desc": "",
"pc_keywords": ""
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
show
integer
必需
msg
string
必需
data
object
必需
name
string
网站名称
web_logo
string
网站Logo
web_favicon
string
站点图标
login_image
string
登录页广告图
pc_logo
string
PC端Logo
pc_title
string
PC端名称
pc_ico
string
PC端图标
pc_desc
string
PC端描述
pc_keywords
string
PC端关键词
示例
{
"code": 1,
"show": 0,
"msg": "",
"data": {
"name": "likeadmin",
"web_favicon": "http://www.php-ws.localhost/resource/image/adminapi/default/web_favicon.ico",
"web_logo": "http://www.php-ws.localhost/resource/image/adminapi/default/web_logo.jpg",
"login_image": "http://www.php-ws.localhost/resource/image/adminapi/default/login_image.png",
"pc_logo": "http://www.php-ws.localhost/resource/image/adminapi/default/pc_logo.png",
"pc_title": "",
"pc_ico": "http://www.php-ws.localhost/resource/image/adminapi/default/web_favicon.ico",
"pc_desc": "",
"pc_keywords": ""
}
}
最后修改时间: 1 年前