| 
					
				 | 
			
			
				@@ -8,6 +8,8 @@ import { goLoginPage } from '@/mixins/index.js' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { setStorage, getStorage, removeStorage } from '@/common/utils/storage.js' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { navToPage } from 'common/utils/navPag' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+var chongxinjiazai = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 const program = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   H5: 'wap', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   APP: 'app', 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -59,7 +61,21 @@ export const $http = (url, method, data, json, loadingBool = false, isExecute = 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       if (~res.message.indexOf('USERPAYING')) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return Promise.reject(new Error(res.message || 'Error')) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      if (res.code === 1001) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      if (res.code === 601) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (chongxinjiazai) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          chongxinjiazai = false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          setTimeout(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            uni.showModal({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              title: '提示', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              content: '请重新加载小程序!', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              confirmText: '知道了', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              success: function (res) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                chongxinjiazai = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          }, 200) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } else if (res.code === 1001) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         webLogin(true) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return {} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } else if (res.code === 4001) { 
			 |