Sfoglia il codice sorgente

提交家庭用户id修改

wangming 1 mese fa
parent
commit
4c473c6fbf

+ 1 - 1
src/pagesA/homeDetail/homeDetail.vue

@@ -86,7 +86,7 @@ export default {
         getGroupDetail() {
             this.$http
                 .get(`wap/group/queryGroupDeviceInfoById`, {
-                    group_id: this.groupInfo.groupId,
+                    groupId: this.groupInfo.groupId,
                 })
                 .then((res) => {
                     if (res.data.data) {

+ 2 - 2
src/pagesA/homeManage/homeManage.vue

@@ -150,7 +150,7 @@ export default {
                 title: "加载中",
             });
             this.$http
-                .get(`wap/group/groupList`, { user_id: this.userId })
+                .get(`wap/group/groupList`, { userId: this.userId })
                 .then((res) => {
                     uni.hideLoading();
                     if (res.data.data) {
@@ -170,7 +170,7 @@ export default {
                             .post(
                                 "wap/group/deleteGroup",
                                 {
-                                    group_id: item.groupId,
+                                    groupId: item.groupId,
                                 },
                                 {
                                     header: {