# picture-bed **Repository Path**: sun2ot/picture-bed ## Basic Information - **Project Name**: picture-bed - **Description**: 为 https://gitee.com/Quantum-yzh/wechat-bot-padlocal 开发的图床 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-02-07 - **Last Updated**: 2023-05-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 前言 本项目是专为[wechat-bot-padlocal](https://gitee.com/Quantum-yzh/wechat-bot-padlocal)而开发的图床子系统,使用者自身需拥有一台服务器。 ## 使用方式 请求方式:post url: `http://39.108.61.191:1255/upload` 字段-------类型 img--------File 成功返回示例 ```json { "status": "upload ok", "link": "http://39.108.61.191:1255/pic/c7a7aad95a19c763a02bb6bd694fa84f.jpg" } ``` 无文件上传返回示例 ```json { "status": "No file uploaded", "link": "undefined" } ``` ## 启动 请使用pm2启动该项目中的pm2配置文件`ecosystem.config.js` ```shell # 全局安装pm2 npm i pm2 -g # 进入项目目录 cd xxx # 启动配置文件(相当于启动了该项目!) pm2 start ecosystem.config.js ```