Compare commits

...

2 Commits

Author SHA1 Message Date
PQZ
078509a382 Merge branch 'master' of http://122.51.230.86:3000/dianliang/dl_uniapp 2025-04-15 13:39:14 +08:00
PQZ
523f1f60e6 1 2025-04-15 11:25:50 +08:00
2 changed files with 16 additions and 2 deletions

View File

@ -24,6 +24,14 @@ export function blackList(params) {
params: params
})
}
//删除黑名单
export function removeBlackList(params) {
return request({
url: '/member/blacklist/removeById',
method: 'delete',
params: params
})
}
//保存博主
export function uniSaveMember(data) {
return request({

View File

@ -39,7 +39,7 @@
import navigationBarVue from '@/components/navigation/navigationBar.vue';
import {toast} from '@/utils/common.js'
import config from '@/config';
import {blackList} from '@/api/business/member.js';
import {blackList,removeBlackList} from '@/api/business/member.js';
export default {
components: {
navigationBarVue
@ -107,7 +107,13 @@
this.total = 0
this.initData()
},
remove(id) {}
remove(id) {
removeBlackList({id:id}).then(res=>{
if (res.code ==200){
this.initData()
}
})
}
}
}
</script>