|
api.getPicture({
sourceType: 'camera',
encodingType: 'jpg',
mediaValue: 'pic',
destinationType: 'url',
allowEdit: false,
quality: 100,
// targetWidth: 100,
// targetHeight: 100,
saveToPhotoAlbum: true
}, function (ret, err) {
var path;
console.log("返回值:::::::::::::::::::::"+JSON.stringify(ret));
console.log("返回值err:::::::::::::::::::::"+JSON.stringify(err));
});
附上调用代码 |
|