Browse Source

群聊接口

潘超林 22 hours ago
parent
commit
c12166b1e0
1 changed files with 42 additions and 1 deletions
  1. 42 1
      api/message.js

+ 42 - 1
api/message.js

@@ -24,5 +24,46 @@ export default {
             params: data,
         })
     },
-    
+
+    // 店铺粉丝群-解散群
+    delGroupByIdDisband(data) {
+        return request({
+            url: '/user/group/delGroupById/' + data,
+            method: 'get',
+            params: data,
+        })
+    },
+    groupdelUse(data) {
+        return request({
+            url: '/user/group/delUser',
+            method: 'post',
+            data: data,
+            header: {
+                'Content-Type': 'application/json'
+            }
+        })
+    },
+
+    // 店铺粉丝群-退出群聊
+    quitGroup(data) {
+        return request({
+            url: '/user/group/quitGroup',
+            method: 'post',
+            data: data,
+            header: {
+                'Content-Type': 'application/json'
+            }
+        })
+    },
+    // 店铺粉丝群-更新群信息
+    updateGroup(data) {
+        return request({
+            url: '/user/group/updateGroup',
+            method: 'post',
+            data: data,
+            header: {
+                'Content-Type': 'application/json'
+            }
+        })
+    },
 }