多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
#图片上传 请求地址 : 域名/inter/Upload//upload 请求参数: | 参数 | 必要 | 注释| | --- | --- | --- | |token | 是| token码 | |phone | 是| 用户名 | |file| 是| 文件| 备注:该接口是将图片储存在服务器,返回储存得路径给app 传输时候采用得base64格式 /inter/Upload//upload?file=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIoAAAA1CAYAAACeG3PEAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NTc3MiwgMjAxNC8wMS8xMy0xOTo0NDowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTQgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkE1MDVDOEI1MzlCMDExRTRCMTZFODE3MTY2QkVDQkRBIiB4bXBNTTpEb2N1bWVudElEP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F49bm0WwLAoss9xtD5jXaCRbjmRmx4WHZqwIbnrE4R9qxjhaAI6UGQQpllDrhsaYhKoy/G0D/80J2KcNUOLrnoIEiO6BpQdm1qvf1gvZaXQXVWbzU1QcJKynMK4W5LVO93eMGD8MkxTNlxZQU87AxyiICyKCWzLEC2CQpvNRX8ZgeoNv6acd9CUtoq7YAb7roaVQAINWiT1NusJxMtuMYt9yRGzQYPZiEyv9MTQPGSom5Tle9rfmMBfi1Ip9qECCpMBzTxqyuPcoQiBoKBUp0gCCJC3A0WjY9YdlQrWXG30HhodnYtEXIA6YhH0oIb02D8jXDxC1g0AxUK3IBV5+iPgAkQeVnBt+/CKV6I8CTcYDTbKhVCjv73hrHbR1ZrHEZ/V5wQpt3eaxb+KInEVcDO8EWh4fMDFFOzsIzs56EOikqkzrROdUvDhtFrE8K793g8PC4g+YT4lqD6NeE6VnYXhckxDg7BJD0S0adxE6zhOuckbCnDZvp7vDcQnOXgYaeFIxdN0CQpFTfN7xBi2gIAboyGKtabOJMSz6lxLwXO3IU5aluMpZGX9j8JeuplnSFmFF9jy8oMKgtp5srSncbI+9A1za13xnF0XAbaO8lAy8oRqZu5j0J1XsIKl2sfoIAWqUYtxhjm002Hd699rGdRxkM+Z8AAwA+V9PYVaasoQAAAABJRU5ErkJggg== 成功: ~~~ {"data":"5cb435d36ba38.png","msg":"上传成功返回图片储存路径","state":10001} ~~~ ***** 失败 情况1 ~~~ {"data":"","msg":"上传失败,图片储存路径生成报错","state":10002} ~~~ 情况2 ~~~ {"data":"","msg":"图片不符合规则","state":10002} ~~~