保存友链
请求方法:POST
请求地址:/friend/link/save
请求数据格式:application/json
需要access_token: 是
需要管理员权限: 是
请求体数据格式:
{
"icon": "图标",
"id": "id",
"name": "名称",
"url": "链接"
}
接口说明:id为null则新增,id不为null则更新;name和url不能为空;
保存成功:
{
"code": 0,
"message": "成功"
}