| 
					
				 | 
			
			
				@@ -137,9 +137,8 @@ class Task extends Api 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         Db::startTrans(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         try{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            // 增加用户经验值 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            //$res1 = \app\common\model\User::addEmpirical($this->auth->id,$taskInfo["exp"]); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            $res1 = model('wallet')->lockChangeAccountRemain($this->auth->id,'gold',$taskInfo["exp"],61,$taskInfo['name'],'task_log',$tasklogInfo); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            // 增加用户金币 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            $res1 = model('wallet')->lockChangeAccountRemain($this->auth->id,'gold',$taskInfo["exp"],61,$taskInfo['name'],'task_log',$tasklogInfo['id']); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if($res1['status'] === false){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 Db::rollback(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 $this->error($res1['msg']); 
			 |