Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
Z
zxn-adputin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lijin
zxn-adputin
Commits
18ed921e
Commit
18ed921e
authored
Dec 30, 2024
by
jiyonggang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加上传资源页面
parent
b71750aa
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
338 additions
and
195 deletions
+338
-195
report.js
src/api/report.js
+25
-3
AdMaterialManager.vue
src/views/createMaterial/AdMaterialManager.vue
+313
-192
No files found.
src/api/report.js
View file @
18ed921e
...
...
@@ -530,23 +530,45 @@ export function updateDirectory() {
})
}
export
function
get
Count
(
)
{
export
function
get
MaterialCount
(
params
)
{
return
request
({
url
:
'http://localhost:8567/material/count'
,
// url: 'https://putinapi.zhangxindiet.com/business/youtube/updateDirectory',
method
:
'get'
,
params
})
}
export
function
movematerial
(
params
)
{
return
request
({
url
:
'http://localhost:8567/material/business/youtube/movematerial'
,
// url: 'https://putinapi.zhangxindiet.com/business/youtube/updateDirectory',
method
:
'get'
,
params
})
}
export
function
deleteDirectory
()
{
export
function
deleteDirectory
(
params
)
{
return
request
({
url
:
'http://localhost:8567/business/youtube/deleteDirectory'
,
url
:
'http://localhost:8567/
material/
business/youtube/deleteDirectory'
,
// url: 'https://putinapi.zhangxindiet.com/business/youtube/deleteDirectory',
method
:
'get'
,
params
})
}
export
function
uploadMaterial
(
body
,
params
){
return
request
({
url
:
'http://localhost:8567/material/business/youtube/uploadVideo'
,
// url: 'https://putinapi.zhangxindiet.com/business/youtube/deleteDirectory',
method
:
'post'
,
headers
:
{
'Content-Type'
:
'multipart/form-data'
},
data
:
body
,
// Body 数据
params
:
params
// 查询参数
})
}
// ----------------------------------------
src/views/createMaterial/AdMaterialManager.vue
View file @
18ed921e
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment