Compare commits
	
		
			2 Commits
		
	
	
		
			9d3b2c409a
			...
			c75009da11
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| c75009da11 | |||
| 3b135594ec | 
@ -377,12 +377,15 @@
 | 
				
			|||||||
							have_shop = true;
 | 
												have_shop = true;
 | 
				
			||||||
						}
 | 
											}
 | 
				
			||||||
						
 | 
											
 | 
				
			||||||
						if(have_auth && res.data.auth_status==1){
 | 
											if(have_auth){
 | 
				
			||||||
							for (let i = 1; i < this.list2.length; i++) {
 | 
												for (let i = 1; i < this.list2.length; i++) {
 | 
				
			||||||
							    this.list2[i].auth_status = 1;
 | 
												    this.list2[i].auth_status = 1;
 | 
				
			||||||
							}
 | 
												}
 | 
				
			||||||
							 this.list2[this.list2.length - 1].auth_status = 0;
 | 
												if(res.data.auth_status == -1){
 | 
				
			||||||
							 this.list2[this.list2.length - 2].auth_status = 0;
 | 
													this.list2[0].auth_status = 0;
 | 
				
			||||||
 | 
												}
 | 
				
			||||||
 | 
												this.list2[this.list2.length - 1].auth_status = 0;
 | 
				
			||||||
 | 
												this.list2[this.list2.length - 2].auth_status = 0;
 | 
				
			||||||
						}
 | 
											}
 | 
				
			||||||
						if(have_shop){
 | 
											if(have_shop){
 | 
				
			||||||
							 this.list2[0].auth_status = 0;
 | 
												 this.list2[0].auth_status = 0;
 | 
				
			||||||
@ -519,6 +522,7 @@
 | 
				
			|||||||
						_this.getOpenidByCode(res.code)
 | 
											_this.getOpenidByCode(res.code)
 | 
				
			||||||
						_this.code = res.code
 | 
											_this.code = res.code
 | 
				
			||||||
						uni.setStorageSync('code', res.code)
 | 
											uni.setStorageSync('code', res.code)
 | 
				
			||||||
 | 
											_this.getStatus()
 | 
				
			||||||
					},
 | 
										},
 | 
				
			||||||
					fail: function(error) {
 | 
										fail: function(error) {
 | 
				
			||||||
						console.log('authError', error);
 | 
											console.log('authError', error);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user