|  | @@ -128,7 +128,7 @@ async function createing2() { | 
														
													
														
															
																|  |  | const res2 = await createPhotoApi(data); |  |  | const res2 = await createPhotoApi(data); | 
														
													
														
															
																|  |  | if (res2.data) { |  |  | if (res2.data) { | 
														
													
														
															
																|  |  | console.log(res2); |  |  | console.log(res2); | 
														
													
														
															
																|  |  | userInfoModulesPinia.createTimes = userInfoModulesPinia.createTimes - 1; |  |  |  | 
														
													
														
															
																|  |  |  |  |  | // userInfoModulesPinia.createTimes = userInfoModulesPinia.createTimes - 1; | 
														
													
														
															
																|  |  | uni.navigateTo({ |  |  | uni.navigateTo({ | 
														
													
														
															
																|  |  | url: `/pages/created/index?id=${res2.data.id}`, |  |  | url: `/pages/created/index?id=${res2.data.id}`, | 
														
													
														
															
																|  |  | }); |  |  | }); | 
														
													
												
													
														
															
																|  | @@ -218,17 +218,17 @@ async function getUser() { | 
														
													
														
															
																|  |  | // 如果接口200就说明已登录 |  |  | // 如果接口200就说明已登录 | 
														
													
														
															
																|  |  | if (res.code == 200 && res.data) { |  |  | if (res.code == 200 && res.data) { | 
														
													
														
															
																|  |  | // 查询支付状态 0:待支付,2:支付中,3:已支付 |  |  | // 查询支付状态 0:待支付,2:支付中,3:已支付 | 
														
													
														
															
																|  |  |  |  |  | uni.setStorageSync("token", res.data.token); | 
														
													
														
															
																|  |  |  |  |  | uni.setStorageSync("createTimes", res.data.createTimes); | 
														
													
														
															
																|  |  |  |  |  | uni.setStorageSync("phone", res.data.phone); | 
														
													
														
															
																|  |  |  |  |  | userInfoModulesPinia.token = res.data.token; | 
														
													
														
															
																|  |  |  |  |  | userInfoModulesPinia.phone = res.data.phone; | 
														
													
														
															
																|  |  |  |  |  | userInfoModulesPinia.createTimes = res.data.createTimes; | 
														
													
														
															
																|  |  | if (res.data.payStatus == 3) { |  |  | if (res.data.payStatus == 3) { | 
														
													
														
															
																|  |  | clearInterval(payCountTimer.value); |  |  | clearInterval(payCountTimer.value); | 
														
													
														
															
																|  |  | payCountTimer.value = null; |  |  | payCountTimer.value = null; | 
														
													
														
															
																|  |  | uni.hideLoading(); |  |  | uni.hideLoading(); | 
														
													
														
															
																|  |  | payMask.value = false; |  |  | payMask.value = false; | 
														
													
														
															
																|  |  | uni.setStorageSync("token", res.data.token); |  |  |  | 
														
													
														
															
																|  |  | uni.setStorageSync("createTimes", res.data.createTimes); |  |  |  | 
														
													
														
															
																|  |  | uni.setStorageSync("phone", res.data.phone); |  |  |  | 
														
													
														
															
																|  |  | userInfoModulesPinia.token = res.data.token; |  |  |  | 
														
													
														
															
																|  |  | userInfoModulesPinia.phone = res.data.phone; |  |  |  | 
														
													
														
															
																|  |  | userInfoModulesPinia.createTimes = res.data.createTimes; |  |  |  | 
														
													
														
															
																|  |  | showQrCode.value = false; |  |  | showQrCode.value = false; | 
														
													
														
															
																|  |  | uni.showToast({ |  |  | uni.showToast({ | 
														
													
														
															
																|  |  | title: "支付成功!", |  |  | title: "支付成功!", | 
														
													
												
													
														
															
																|  | 
 |