const axios = require('axios');
const unzip = require('unzip-stream');
const path = require('path');
const fs = require('fs');
const OSS = require('ali-oss');
const client = new OSS({
region: 'region',
accessKeyId: 'accessKeyId',
accessKeySecret: 'accessKeySecret',
bucket: 'bucket',
});
const type = 'en'
const lang = "data"
client.put(`i18n/lang/${type}/index.json`, new Buffer(JSON.stringify(lang)))