瀏覽代碼

解绑ai客服

yh 18 小時之前
父節點
當前提交
9fa620141e
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. 2 2
      src/api/qw/user.js
  2. 1 1
      src/views/qw/user/index.vue

+ 2 - 2
src/api/qw/user.js

@@ -131,9 +131,9 @@ export function qwUserBindAi(data) {
 }
 
 //解绑AI客服
-export function relieveFastGptRoleById(id) {
+export function relieveFastGptRoleById(id,roleId) {
   return request({
-    url: '/qw/user/relieveFastGptRoleById/' + id,
+    url: '/qw/user/relieveFastGptRoleById/' + id + "/" + roleId,
     method: 'get'
   })
 }

+ 1 - 1
src/views/qw/user/index.vue

@@ -1207,7 +1207,7 @@ export default {
         cancelButtonText: "取消",
         type: "warning"
       }).then(function () {
-        return relieveFastGptRoleById(row.id);
+        return relieveFastGptRoleById(row.id,row.roleId);
       }).then(() => {
         this.getList();
         this.msgSuccess("解绑成功");