Commit f571e9d4 authored by jiyonggang's avatar jiyonggang

批量上传

parent e8b691a6
...@@ -499,8 +499,8 @@ export function fetchConversionAction(data) { ...@@ -499,8 +499,8 @@ export function fetchConversionAction(data) {
export function getMaterialDirectoriesTree() { export function getMaterialDirectoriesTree() {
return request({ return request({
// url: 'http://localhost:8567/material/business/youtube/directories/tree', url: 'http://localhost:8567/material/business/youtube/directories/tree',
url: 'https://putinapi.zhangxindiet.com/material/business/youtube/directories/tree', // url: 'https://putinapi.zhangxindiet.com/material/business/youtube/directories/tree',
method: 'get', method: 'get',
}) })
} }
...@@ -516,7 +516,7 @@ export function getDirectoryById(params) { ...@@ -516,7 +516,7 @@ export function getDirectoryById(params) {
export function createDirectory(params) { export function createDirectory(params) {
return request({ return request({
// url: 'http://localhost:8567/material/business/youtube/createdirectories', // url: 'http://localhost:8567/material/business/youtube/createdirectories',
url: 'https://putinapi.zhangxindiet.com/business/youtube/createdirectories', url: 'https://putinapi.zhangxindiet.com/material/business/youtube/createdirectories',
method: 'get', method: 'get',
params params
}) })
...@@ -533,7 +533,7 @@ export function updateDirectory() { ...@@ -533,7 +533,7 @@ export function updateDirectory() {
export function getMaterialCount(params) { export function getMaterialCount(params) {
return request({ return request({
// url: 'http://localhost:8567/material/count', // url: 'http://localhost:8567/material/count',
url: 'https://putinapi.zhangxindiet.com/business/youtube/updateDirectory', url: 'https://putinapi.zhangxindiet.com/material/count',
method: 'get', method: 'get',
params params
}) })
...@@ -542,7 +542,7 @@ export function getMaterialCount(params) { ...@@ -542,7 +542,7 @@ export function getMaterialCount(params) {
export function movematerial(params) { export function movematerial(params) {
return request({ return request({
// url: 'http://localhost:8567/material/business/youtube/movematerial', // url: 'http://localhost:8567/material/business/youtube/movematerial',
url: 'https://putinapi.zhangxindiet.com/business/youtube/updateDirectory', url: 'https://putinapi.zhangxindiet.com/material/business/youtube/movematerial',
method: 'get', method: 'get',
params params
}) })
...@@ -552,7 +552,7 @@ export function movematerial(params) { ...@@ -552,7 +552,7 @@ export function movematerial(params) {
export function deleteDirectory(params) { export function deleteDirectory(params) {
return request({ return request({
// url: 'http://localhost:8567/material/business/youtube/deleteDirectory', // url: 'http://localhost:8567/material/business/youtube/deleteDirectory',
url: 'https://putinapi.zhangxindiet.com/business/youtube/deleteDirectory', url: 'https://putinapi.zhangxindiet.com/material/business/youtube/deleteDirectory',
method: 'get', method: 'get',
params params
}) })
...@@ -561,7 +561,7 @@ export function deleteDirectory(params) { ...@@ -561,7 +561,7 @@ export function deleteDirectory(params) {
export function uploadMaterial(body,params){ export function uploadMaterial(body,params){
return request({ return request({
// url: 'http://localhost:8567/material/business/youtube/uploadVideo', // url: 'http://localhost:8567/material/business/youtube/uploadVideo',
url: 'https://putinapi.zhangxindiet.com/business/youtube/deleteDirectory', url: 'https://putinapi.zhangxindiet.com/material/business/youtube/uploadVideo',
method: 'post', method: 'post',
headers: { 'Content-Type': 'multipart/form-data' }, headers: { 'Content-Type': 'multipart/form-data' },
data: body, // Body 数据 data: body, // Body 数据
...@@ -581,7 +581,7 @@ export function getMaterialDesigners() { ...@@ -581,7 +581,7 @@ export function getMaterialDesigners() {
export function getMaterialsByTag(params) { export function getMaterialsByTag(params) {
return request({ return request({
// url: 'http://localhost:8567/material/business/youtube/getMaterialsByTag', // url: 'http://localhost:8567/material/business/youtube/getMaterialsByTag',
url: 'https://putinapi.zhangxindiet.com/material/getMaterialDesigners', url: 'https://putinapi.zhangxindiet.com/material/business/youtube/getMaterialsByTag',
method: 'get', method: 'get',
params params
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment