# xiaov **Repository Path**: sharkseven/xiaov ## Basic Information - **Project Name**: xiaov - **Description**: No description available - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2017-01-02 - **Last Updated**: 2021-11-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 明信片操作 url: /pictures 字段: name: 名称 description: 描述 src: 图片地址 qrcode: 二维码地址 增: method: POST 查: method: GET /pictures?name=XXX&src=XXX... 获取某个 /pictures/:id /pictures/1 获取id为1的明星片的详细数据 # 明显片编码操作 url: /codes 字段: code: 编码 picture: 所属明星片 增: method: POST 查: method: GET /codes?code=XXX&picture=XXX... 获取某个 /codes/:id /codes/1 获取id为1的code的详细 # 留言操作 url: /messages 字段: name: 名称 creator: 编码(明信片上的编码) secretkey: 暗号 src: 多媒体路径 picture: 所属明星片 type: 留言类型 text: 文本留言 增: method: POST 查: method: GET /messages?creator=XXX&secretkey=XXX... 获取某个 /messages/:id /messages/1 获取id为1的code的详细 # 添加留言 method: POST 参数: picture: 明星片代码(明星片上的编码) secretkey: 暗号 text: 文本(当留言为文本时) # 根据明信片和名相片上的code和口令获取留言 http://120.77.82.238:9999/messages?picture=00002&secretkey=想知道密码吗 # 文件上传 /fs/upload 参数 file: 文件 pictureCode: 明星片上的编号(暂时初始化的明星片0001) secretKey: 暗号 type: 文件类型(限填:image, video, audio) [html表单示例](http://git.oschina.net/sharkseven/xiaov/blob/master/example/form.html?dir=0&filepath=example%2Fform.html&oid=df031d360558670492eed250244c277cb1fce80a&sha=31cc220e061d1eb67356a87afd8ff4ea0ea760df)