You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
447 B
17 lines
447 B
|
|
const autoUpdate = require ("./AutoUpdateSdkMain");
|
|
const path = require("path");
|
|
const fs = require("fs");
|
|
const axios = require('axios');
|
|
const downloadFile = require("../../utils/DownloadFile");
|
|
|
|
//推送素材更新方法
|
|
const pushMaterial = async (ctx, next) => {
|
|
const req = ctx.query.req;
|
|
console.log('req', req);
|
|
autoUpdate.readArgvs(req);
|
|
};
|
|
|
|
const materialAutoUpdate = module.exports = {
|
|
pushMaterial: pushMaterial
|
|
};
|
|
|