1.0.2 • Published 5 years ago
jun_materials-request v1.0.2
http请求
jun_materials-request
http数据请求,包括:get post put等
API
参数名 | 说明 | 必填 | 类型 | 默认值 | 备注 |
---|---|---|---|---|---|
type | 类型 | 是 | string | - | get、post、upload |
url | 接口地址 | 是 | string | - | '/api/xxxx' |
config | 参数配置 | 否 | object | - | get、post、upload |
percentCompletedFun | 上传进度 | 否 | function | - | upload上传进度回调方法 |