张文飞 преди 3 години
родител
ревизия
c5be0d1b22
променени са 1 файла, в които са добавени 16 реда и са изтрити 2 реда
  1. 16 2
      pages/houseDetail/houseDetail.vue

+ 16 - 2
pages/houseDetail/houseDetail.vue

@@ -143,9 +143,9 @@
 		methods: {
 			async detailDatahandle() {
 				var parmas = {
-					projectId: this.projectId,
-					shareToken:getApp().globalData.shareToken
+					projectId: this.projectId
 				}
+				this.createUserProjectRlat();
 				let res = await this.$myRequest({
 					url: '/project/queryProjectByH5',
 					data: parmas
@@ -156,6 +156,20 @@
 					this.reloadCategoryList()
 					this.reloadInfos()
 				}
+			},
+			
+			async createUserProjectRlat() {
+				var parmas = {
+					projectId: this.projectId,
+					shareToken:getApp().globalData.shareToken
+				}
+				let res = await this.$myRequest({
+					url: '/user/createUserProjectRlat',
+					data: parmas
+				})
+				if (res && res.data.success) {
+					
+				}
 			},
 			
 			reloadCategoryList() {