mirror of
				https://gitee.com/zoujingli/ThinkAdmin.git
				synced 2025-10-30 19:52:08 +08:00 
			
		
		
		
	Update Transfer.php
This commit is contained in:
		
							parent
							
								
									83de9c0b85
								
							
						
					
					
						commit
						c11f83d011
					
				| @ -80,7 +80,7 @@ class Transfer extends Auth | |||||||
|         [$total, $count] = UserRebateService::instance()->amount($this->uuid); |         [$total, $count] = UserRebateService::instance()->amount($this->uuid); | ||||||
|         if ($total - $count < $data['amount']) $this->error('可提现余额不足!'); |         if ($total - $count < $data['amount']) $this->error('可提现余额不足!'); | ||||||
|         // 当日提现次数限制
 |         // 当日提现次数限制
 | ||||||
|         $map = ['mid' => $this->uuid, 'type' => $data['type'], 'date' => $data['date']]; |         $map = ['uid' => $this->uuid, 'type' => $data['type'], 'date' => $data['date']]; | ||||||
|         $count = $this->app->db->name($this->table)->where($map)->count(); |         $count = $this->app->db->name($this->table)->where($map)->count(); | ||||||
|         if ($count >= $transfers[$data['type']]['dayNumber']) $this->error("当日提现次数受限"); |         if ($count >= $transfers[$data['type']]['dayNumber']) $this->error("当日提现次数受限"); | ||||||
|         // 提现金额范围控制
 |         // 提现金额范围控制
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user