Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
7c491ff6
authored
Oct 03, 2023
by
YunaiV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
promotion:优化秒杀活动的界面
parent
40f44fc7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
src/api/mall/promotion/seckill/seckillActivity.ts
+5
-0
src/views/mall/promotion/seckill/activity/index.vue
+0
-0
No files found.
src/api/mall/promotion/seckill/seckillActivity.ts
View file @
7c491ff6
...
@@ -57,6 +57,11 @@ export const updateSeckillActivity = async (data: SeckillActivityVO) => {
...
@@ -57,6 +57,11 @@ export const updateSeckillActivity = async (data: SeckillActivityVO) => {
return
await
request
.
put
({
url
:
'/promotion/seckill-activity/update'
,
data
})
return
await
request
.
put
({
url
:
'/promotion/seckill-activity/update'
,
data
})
}
}
// 关闭秒杀活动
export
const
closeSeckillActivity
=
async
(
id
:
number
)
=>
{
return
await
request
.
put
({
url
:
'/promotion/seckill-activity/close?id='
+
id
})
}
// 删除秒杀活动
// 删除秒杀活动
export
const
deleteSeckillActivity
=
async
(
id
:
number
)
=>
{
export
const
deleteSeckillActivity
=
async
(
id
:
number
)
=>
{
return
await
request
.
delete
({
url
:
'/promotion/seckill-activity/delete?id='
+
id
})
return
await
request
.
delete
({
url
:
'/promotion/seckill-activity/delete?id='
+
id
})
...
...
src/views/mall/promotion/seckill/activity/index.vue
View file @
7c491ff6
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