Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-app-operator-master
Commits
85c4c683
Commit
85c4c683
authored
Jun 21, 2022
by
wanglianghe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
广告管理
parent
b5358ce3
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
422 additions
and
0 deletions
+422
-0
banner.js
src/api/ecw/banner.js
+54
-0
index.vue
src/views/ecw/banner/index.vue
+368
-0
No files found.
src/api/ecw/banner.js
0 → 100644
View file @
85c4c683
import
request
from
'
@/utils/request
'
// 创建广告设置
export
function
createBanner
(
data
)
{
return
request
({
url
:
'
/ecw/banner/create
'
,
method
:
'
post
'
,
data
:
data
})
}
// 更新广告设置
export
function
updateBanner
(
data
)
{
return
request
({
url
:
'
/ecw/banner/update
'
,
method
:
'
put
'
,
data
:
data
})
}
// 删除广告设置
export
function
deleteBanner
(
id
)
{
return
request
({
url
:
'
/ecw/banner/delete?id=
'
+
id
,
method
:
'
delete
'
})
}
// 获得广告设置
export
function
getBanner
(
id
)
{
return
request
({
url
:
'
/ecw/banner/get?id=
'
+
id
,
method
:
'
get
'
})
}
// 获得广告设置分页
export
function
getBannerPage
(
query
)
{
return
request
({
url
:
'
/ecw/banner/page
'
,
method
:
'
get
'
,
params
:
query
})
}
// 导出广告设置 Excel
export
function
exportBannerExcel
(
query
)
{
return
request
({
url
:
'
/ecw/banner/export-excel
'
,
method
:
'
get
'
,
params
:
query
,
responseType
:
'
blob
'
})
}
src/views/ecw/banner/index.vue
0 → 100644
View file @
85c4c683
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