
后端代码:
前端代码:
服务提供方:http://localhost:8002/
服务消费方:http://localhost:80/
前端:http://localhost:8080/
图片服务器地址:http://www.fdfsstorage.com/
ZooKeeper、MySQL、FastDFS、Redis、Nginx 等都配置在 Linux 系统
完成接口对应的前后端的代码


FastDFS 服务器,保存 fileid 为图片路径updateUserInfo{
// 用户 id
"userid": "100030018",
"portrait": "头像新地址",
"name": "新昵称"
}
{
"success": true,
"state": ,
"message": "修改成功",
}

updatePassword{
// 用户 id
"userid": "100030018",
"password": "验证通过的新密码"
}
{
"success": true,
"state": ,
"message": "修改成功",
}