import {
	myRequest
} from '../request.js'
export default {
	//回调
	aliyuncallback(data) {
		return myRequest({
			url: '/aliyun/oss/callback',
			method: 'post',
			data: data
		})
	},
	//policy获得
	aliyunpolicy(data) {
		return myRequest({
			url: '/aliyun/oss/policy',
			method: 'get',
			data: data,
			// noToken: true
		})
	},
	//上传图片
	aliyunpolicyupload(data) {
		return myRequest({
			url: '/aliyun/oss/upload',
			method: 'post',
			data: data
			// noToken: true
		})
	},
}
