コード例 #1
0
 public function dosupply()
 {
     dosupply($this->_post("id"), $this->_post("money"), $this->uid, 2);
 }
コード例 #2
0
 public function dosupply()
 {
     $user_money = M('member_money')->where("uid = {$this->uid}")->find();
     $count = getMoneylimit($this->uid);
     if ($count + $this->_post("money") > $user_money['back_money'] + $user_money['account_money']) {
         $msg = array();
         $msg['msg'] = '可用余额不足!Sorry!';
         echo json_encode($msg);
         die;
     }
     dosupply($this->_post("id"), $this->_post("money"), $this->uid, 1);
 }
コード例 #3
0
 public function docatsupply()
 {
     $iscut = true;
     dosupply($this->_post("id"), $this->_post("money"), $this->uid, 3, $iscut);
 }