# person-cloud-client **Repository Path**: jiahaobz/person-cloud-client ## Basic Information - **Project Name**: person-cloud-client - **Description**: 个人云盘 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-01-22 - **Last Updated**: 2022-01-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 仿照此项目制作的 https://github.com/jingping-ye/website-develop-action/tree/master/2%20%E5%9C%A8%E7%BA%BF%E7%BD%91%E7%9B%98 # 接口详情 ### 用户注册 `post` `user/add` ```js let 请求参数 = { username:"狗蛋", //用户名 password:"123456" //密码 } ``` ```js let 返回值 = { flag:0, // 状态码 0代表失败 msg:"成功" // 提示信息 } ``` ### 用户登录 `post` `user/validate` ```js let 请求参数 = { username:"狗蛋", //用户名 password:"123456" //密码 } ``` ```js let 返回值 = { flag:0, // 状态码 0代表失败 msg:"成功", // 提示信息 data:{ uid:9527, // 用户的uid username, //用户名 } } ``` ### 文件展示 `Get` `file/list` ```js let 返回值 = { flag:0, // 状态码 0代表失败 msg:"成功", // 提示信息 data:{ fileName:"图片", // 文件名 size: 55, //文件大小 uploadTime:'', //上传时间 一个时间戳 download:0, //下载次数 type:"png", //文件类型 id:123, // 文件id hashName:"123ds", // 文件的hash名字 fileUrl:"", //文件网络地址 uid:1 // 用户的的id } } ``` ### 文件删除 `post` `file/delete` ```js let 请求参数 = { hashName: "文件真实名字", id: 2// 文件的id } ``` ```js let 返回值 = { msg:"提示信息" } ``` # client > A Vue.js project ## Build Setup ``` bash # install dependencies npm install # serve with hot reload at localhost:8080 npm run dev # build for production with minification npm run build # build for production and view the bundle analyzer report npm run build --report # run unit tests npm run unit # run e2e tests npm run e2e # run all tests npm test ``` For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).