Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cust-app
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李伟
cust-app
Commits
125e0181
Commit
125e0181
authored
Feb 28, 2025
by
liwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了黑名单接口
parent
606e9857
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
5 deletions
+11
-5
index.js
api/user/index.js
+3
-2
blackList.vue
pagesme/set/blackList.vue
+8
-3
No files found.
api/user/index.js
View file @
125e0181
...
...
@@ -209,8 +209,9 @@ export function getBlackList(data){
// 取消关注
export
function
deleteBlack
(
data
)
{
return
request
({
url
:
'/app/opmBlackList/delete
/'
+
data
,
url
:
'/app/opmBlackList/delete
'
,
method
:
'delete'
,
data
})
}
...
...
@@ -269,4 +270,4 @@ export function isStopAccount() {
url
:
'/app/memInfo/getUserIsStop'
,
method
:
'get'
,
})
}
\ No newline at end of file
}
pagesme/set/blackList.vue
View file @
125e0181
...
...
@@ -6,7 +6,7 @@
:options=
"options"
v-for=
"(item, index) in dataList"
:key=
"index"
@
click=
"handleDelete(item
.businessId
)"
@
click=
"handleDelete(item)"
>
<view
class=
"swipe-action u-border-top"
...
...
@@ -75,13 +75,18 @@ export default {
this
.
$refs
.
paging
.
completeByTotal
(
this
.
blackList
,
res
.
data
.
total
);
});
},
handleDelete
(
i
d
){
handleDelete
(
i
tem
){
uni
.
showModal
({
title
:
'提示'
,
content
:
'确定移除吗?'
,
success
:
(
res
)
=>
{
if
(
res
.
confirm
)
{
deleteBlack
(
id
).
then
(
res
=>
{
const
params
=
{
businessId
:
item
.
businessId
,
userId
:
item
.
userId
,
targetId
:
item
.
targetId
}
deleteBlack
(
params
).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
uni
.
showToast
({
title
:
'移除成功'
,
...
...
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