|
|
@@ -200,10 +200,7 @@
|
|
|
}
|
|
|
|
|
|
const setMemberChannel = (memberId) => {
|
|
|
- proxy.$api.post('/member/setChannels', {
|
|
|
- memberId,
|
|
|
- channelIds: selectedChannelId.value
|
|
|
- }).then(({ data: res }) => {
|
|
|
+ proxy.$api.post(`/member/setChannels?memberId=${memberId}&channelIds=${selectedChannelId.value}`, {}).then(({ data: res }) => {
|
|
|
if (res.code !== 0) proxy.$showToast(res.msg)
|
|
|
}).catch(() => {
|
|
|
proxy.$showToast('渠道设置失败,请稍后重试')
|