import {
  warpPlusMethod
} from '../util'

export const getImageInfo = warpPlusMethod('io', 'getImageInfo')

import {
  warpPlusMethod
} from '../util'
import {
  TEMP_PATH
} from '../constants'

export const getImageInfo = warpPlusMethod('io', 'getImageInfo', options => {
  options.savePath = options.filename = TEMP_PATH + '/download/'
  return options
})

配置 uni.getImageInfo 临时文件路径