齐博 пре 1 година
родитељ
комит
e501cda883
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      plugins/marketing/member/Rmb.php

+ 3 - 1
plugins/marketing/member/Rmb.php

@@ -148,7 +148,7 @@ class Rmb extends MemberBase
 	    }
 	    
 	    if(IS_POST){	        
-	        $data = $this->request->post();	        
+	        $data = $this->request->post();
 	        if($this->user['rmb']<0.3){
 	            $this->error("你当前可用余额小于0.3元,无法提现!");
 	        }
@@ -161,6 +161,8 @@ class Rmb extends MemberBase
 	            $this->error("请选择一个收款帐号!");
 	        }elseif($data['money'] > $this->user['rmb']){
 	            $this->error("提现金额不能大于你的可用余额");
+	        }elseif(strstr($data['banktype'],'weixin') && $this->webdb['max_getout_money']>$this->webdb['min_getout_money'] && $data['money']>$this->webdb['max_getout_money']){
+	            $this->error("每笔提现金额不能大于 ".$this->webdb['min_getout_money']." 元,你可以选择分开多笔提现。<br>因为受制于微信的最高限额!");
 	        }elseif($data['money']<$min_money){
 	            $this->error("提现金额不能小于 {$min_money} 元");
 	        }elseif($data['money']<0.01){