Browse Source

分享bug修改 文件过滤

zhuohongkui 1 year ago
parent
commit
71b3a030fd

+ 2 - 0
mer/.gitignore

@@ -18,6 +18,8 @@ selenium-debug.log
 *.njsproj
 *.sln
 *.local
+.rar
+.zip
 
 package-lock.json
 yarn.lock

BIN
mer/dist.zip


+ 2 - 0
uni-app/.gitignore

@@ -13,6 +13,8 @@ yarn-debug.log*
 yarn-error.log*
 
 # Editor directories and files
+.rar
+.zip
 .idea
 .vscode
 *.suo

+ 1 - 1
uni-app/components/Authorize.vue

@@ -186,7 +186,7 @@
 					.then(res => {
 						let userInfo = res.userInfo;
 						userInfo.code = this.code;
-						userInfo.order_id = order_id
+						order_id?userInfo.order_id = order_id:'';
 						userInfo.spread = app.globalData.spid; //获取推广人ID
 						// userInfo.spread = 82 //获取推广人ID
 						userInfo.spread_code = app.globalData.code; //获取推广人分享二维码ID

+ 1 - 1
uni-app/manifest.json

@@ -1,6 +1,6 @@
 {
     "name" : "CRMEB",
-    "appid" : "__UNI__30B8DF9",
+    "appid" : "__UNI__A34A894",
     "description" : "",
     "versionName" : "1.0.4",
     "versionCode" : 127,

+ 5 - 5
uni-app/pages/goods_details/index.vue

@@ -553,8 +553,8 @@
 		onLoad(options) {
 			let that = this
 			if (options.spid) {
-				app.globalData.spid = options.spid;
-				that.currSpid = options.spid
+				app.globalData.spid = Number(options.spid);
+				that.currSpid = Number(options.spid)
 			}
 			var pages = getCurrentPages();
 			let curPage = pages[pages.length - 1];
@@ -584,8 +584,8 @@
 				if (value.id) options.id = value.id;
 				//记录推广人uid
 				if (value.spid) {
-					app.globalData.spid = value.spid;
-					that.currSpid = value.spid
+					app.globalData.spid = Number(value.spid);
+					that.currSpid = Number(value.spid)
 				}
 			}
 			if (!options.id && !options.scene) {
@@ -600,7 +600,7 @@
 				this.id = options.id
 			}
 			//记录推广人uid
-			if (options.spid) app.globalData.spid = options.spid;
+			if (options.spid) app.globalData.spid = Number(options.spid);
 			// #endif
 			shareScence(that.currSpid, that.isLogin)
 			this.getGoodsDetails();