#图片上传
请求地址 : 域名/inter/Upload//upload
请求参数:
| 参数 | 必要 | 注释|
| --- | --- | --- |
|token | 是| token码 |
|phone | 是| 用户名 |
|file| 是| 文件|
备注:该接口是将图片储存在服务器,返回储存得路径给app
传输时候采用得base64格式
/inter/Upload//upload?file=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIoAAAA1CAYAAACeG3PEAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NTc3MiwgMjAxNC8wMS8xMy0xOTo0NDowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTQgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkE1MDVDOEI1MzlCMDExRTRCMTZFODE3MTY2QkVDQkRBIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkE1MDVDOEI2MzlCMDExRTRCMTZFODE3MTY2Q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I6UGQQpllDrhsaYhKoy/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}
~~~
- 文档编辑demo案例
- 主线业务流程1,以发货人为主ok
- 主线业务流程2,以送货人为主OK
- 说明3
- 发货人界面
- 我的任务(ok)
- 我的任务详情-待接单ok
- 地理位置
- 搜索结果页(OK)
- 搜索行程ok
- 搜索行程详情
- 搜索订单号2ok
- 搜索订单详情2
- 安全中心(ok)
- 获取单个协议ok
- 附近行程(ok)
- 附近行程详情ok
- 消息中心(ok)
- 获取用户未读消息ok
- 获取单条消息详情ok
- 发布任务(ok)
- 获取发布任务的分类消息ok
- 删除任务ok
- 个人中心
- 我的订单(ok)
- 我的订单详情ok
- 短信收货人
- 待取件ok
- 待签收ok
- 已完成ok
- 我的钱包(ok)
- 提现(ok)
- 提现记录ok
- 充值ok
- 微信充值ok
- 支付宝充值ok
- 缴纳押金
- 微信缴纳ok
- 支付宝缴纳ok
- 交易明细ok
- 优惠券(ok)
- 我的客户
- 设置中心
- 修改密码(ok)
- 常用地址(ok)
- 添加地址
- 删除地址
- 修改地址
- 获取地址详情
- 忘记密码step1
- 忘记密码step2
- 用户资料ok
- 编辑用户昵称ok
- 头像上传-ok
- 物流页面ok
- 添加订单物流状态
- 推荐行程列表(OK)
- 推荐行程详细ok
- 发货人邀请行程完成任务-发布任务ok
- 发送任务列表
- 同意任务2无需接口
- 获取费用预算ok
- 被邀请的行程(意向行程)
- 同意该行程
- 进行中(我的订单)ok
- 取消订单ok
- 费用明细OK
- 添加费用明细
- 运输出发(不需要接口)
- 提货码OK
- 交易完成(无需接口)
- 订单详情ok
- 发送提货码
- 运输人界面
- 我的行程(OK)
- 我的行程详情
- 地理位置2
- 搜索页2(ok)
- 搜索任务
- 搜索任务详情
- 搜索订单号
- 搜索订单详情
- 安全中心2(ok)
- 单个协议2
- 消息详情
- 附近任务(ok)
- 附近任务详情
- 推荐任务(ok)
- 推荐任务详情
- 任务详情
- 行程发布(ok)
- 行程发布提交
- 删除行程
- 进行中2(订单列表)OK
- 收货预算OK
- 取消订单2ok
- 验货收件(ok)
- 运输出发2(不需要接口)
- 提货码交货OK
- 交易完成2(无需接口)
- 订单详情2ok
- 个人中心2(通发货人中心一样)
- 运输人主动接任务-发送行程ok
- 运输人主动接任务列表ok
- 同意任务3无需接口
- 被邀请的任务ok(意向任务)
- 同意邀请ok
- 登录模块(ok)
- 登录功能
- 退出登陆
- 注册功能
- 发短信
- 检查版本
- 所有短信接获取接口(ok)
- Token验证失败说明
- 实名认证
- 获取认证令牌
- 获取认证状态
- 图片上传ok
- 支付模块说明
- 余额支付OK
- 微信支付ok
- 支付宝支付ok
- 支付时获取优惠券
- 聊天模块
- 注册用户
- 获取所有用户
- 获取该用户信息
- 获取该用户状态
- 注销该用户
- 发送文字聊天
- 关于我们
- 获取banner
- 拨打虚拟号码
- 改版新增
- 短信注册
- 短信注册登录兼容
- 设置密码页
- 自动提示更新
- 微信授权登录
- 微信授权注册接口
- 修改资料
- 客服微信号二维码
- 支付密码