Commit f571e9d4 authored by jiyonggang's avatar jiyonggang

批量上传

parent e8b691a6
......@@ -499,8 +499,8 @@ export function fetchConversionAction(data) {
export function getMaterialDirectoriesTree() {
return request({
// url: 'http://localhost:8567/material/business/youtube/directories/tree',
url: 'https://putinapi.zhangxindiet.com/material/business/youtube/directories/tree',
url: 'http://localhost:8567/material/business/youtube/directories/tree',
// url: 'https://putinapi.zhangxindiet.com/material/business/youtube/directories/tree',
method: 'get',
})
}
......@@ -516,7 +516,7 @@ export function getDirectoryById(params) {
export function createDirectory(params) {
return request({
// 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',
params
})
......@@ -533,7 +533,7 @@ export function updateDirectory() {
export function getMaterialCount(params) {
return request({
// url: 'http://localhost:8567/material/count',
url: 'https://putinapi.zhangxindiet.com/business/youtube/updateDirectory',
url: 'https://putinapi.zhangxindiet.com/material/count',
method: 'get',
params
})
......@@ -542,7 +542,7 @@ export function getMaterialCount(params) {
export function movematerial(params) {
return request({
// 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',
params
})
......@@ -552,7 +552,7 @@ export function movematerial(params) {
export function deleteDirectory(params) {
return request({
// 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',
params
})
......@@ -561,7 +561,7 @@ export function deleteDirectory(params) {
export function uploadMaterial(body,params){
return request({
// 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',
headers: { 'Content-Type': 'multipart/form-data' },
data: body, // Body 数据
......@@ -581,7 +581,7 @@ export function getMaterialDesigners() {
export function getMaterialsByTag(params) {
return request({
// 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',
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