| 
					
				 | 
			
			
				@@ -337,7 +337,7 @@ class Money extends Common 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             $this->error('订单丢失'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if ($order_info['status'] == 1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            $this->success('购买成功'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            $this->success('充值成功'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         //查询bundle_id 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         $vipConfigInfo = Db::name('diamond_ios')->where(['id' => $order_info['vip_config_id']])->find(); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -361,6 +361,7 @@ class Money extends Common 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             $this->error('非法请求,请立刻停止'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        $res3 = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         Db::startTrans(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // 获取钻石配置信息 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         $userInfo = Db::name('user')->where(['id' => $order_info['user_id']])->find(); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -390,10 +391,10 @@ class Money extends Common 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if($res1 && $res2 !== false && $res3) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             Db::commit(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            $this->success('购买成功'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            $this->success('充值成功'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             Db::rollback(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            $this->error('购买失败'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            $this->error('充值失败'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 |