当前位置: 首页>>代码示例>>PHP>>正文


PHP MTip函数代码示例

本文整理汇总了PHP中MTip函数的典型用法代码示例。如果您正苦于以下问题:PHP MTip函数的具体用法?PHP MTip怎么用?PHP MTip使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了MTip函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: bindbank

 public function bindbank()
 {
     $oldaccount = M('member_banks')->getFieldByUid($this->uid, 'bank_num');
     $data['uid'] = $this->uid;
     $data['bank_num'] = text($_POST['account']);
     $data['bank_name'] = text($_POST['bankname']);
     $data['bank_address'] = text($_POST['bankaddress']);
     $data['bank_province'] = text($_POST['province']);
     $data['bank_city'] = text($_POST['cityName']);
     $data['add_ip'] = get_client_ip();
     $data['add_time'] = time();
     //短信校验
     $smscode = text($_POST['smscode']);
     if (!is_verify($this->uid, $smscode, 11, 10 * 60)) {
         ajaxmsg('短信验证码不对,请重新输入!', 0);
     }
     if ($oldaccount) {
         $old = text($_POST['oldaccount']);
         if ($old != $oldaccount) {
             ajaxmsg('原银卡号不对', 0);
         }
         $newid = M('member_banks')->save($data);
     } else {
         $newid = M('member_banks')->add($data);
     }
     if ($newid) {
         MTip('chk2', $this->uid);
         ajaxmsg();
     } else {
         ajaxmsg('操作失败,请重试', 0);
     }
 }
开发者ID:hutao1004,项目名称:yintt,代码行数:32,代码来源:BankAction.class.php

示例2: bindbank

 public function bindbank()
 {
     $bank_info = M('member_banks')->field("uid, bank_num")->where("uid=" . $this->uid)->find();
     !$bank_info['uid'] && ($data['uid'] = $this->uid);
     $data['bank_num'] = text($_POST['account']);
     $data['bank_name'] = text($_POST['bankname']);
     $data['bank_address'] = text($_POST['bankaddress']);
     $data['bank_province'] = text($_POST['province']);
     $data['bank_city'] = text($_POST['cityName']);
     $data['add_ip'] = get_client_ip();
     $data['add_time'] = time();
     if ($bank_info['uid']) {
         /////////////////////新增银行卡修改锁定开关 开始 20130510 fans///////////////////////////
         if (intval($this->glo['edit_bank']) != 1 && $bank_info['bank_num']) {
             ajaxmsg("为了您的帐户资金安全,银行卡已锁定,如需修改,请联系客服", 0);
         }
         /////////////////////新增银行卡修改锁定开关 结束 20130510 fans///////////////////////////
         $old = text($_POST['oldaccount']);
         if ($bank_info['bank_num'] && $old != $bank_info['bank_num']) {
             ajaxmsg('原银卡号不对', 0);
         }
         $newid = M('member_banks')->where("uid=" . $this->uid)->save($data);
     } else {
         $newid = M('member_banks')->add($data);
     }
     if ($newid) {
         MTip('chk2', $this->uid);
         ajaxmsg();
     } else {
         ajaxmsg('操作失败,请重试', 0);
     }
 }
开发者ID:kinglong366,项目名称:p2p,代码行数:32,代码来源:BankController.class.php

示例3: changepass

 public function changepass()
 {
     $old = md5($_POST['oldpwd']);
     $newpwd1 = md5($_POST['newpwd1']);
     $c = M('members')->where("id={$this->uid} AND user_pass = '{$old}'")->count('id');
     if ($c == 0) {
         ajaxmsg('', 2);
     }
     $newid = M('members')->where("id={$this->uid}")->setField('user_pass', $newpwd1);
     if ($newid) {
         MTip('chk1', $this->uid);
         ajaxmsg();
     } else {
         ajaxmsg('', 0);
     }
 }
开发者ID:GStepOne,项目名称:CI,代码行数:16,代码来源:UserAction.class.php

示例4: withdraw

 public function withdraw()
 {
     import("ORG.Loan.Escrow");
     $loan = new Escrow();
     if ($loan->withdrawVerify($_POST)) {
         $orders = $_POST['OrderNo'];
         $id = substr($orders, 12);
         $vo = M('member_withdraw')->field('uid,withdraw_money,withdraw_fee,withdraw_status, loanno')->where("id={$id}")->find();
         $uid = $vo['uid'];
         if ($_POST['ResultCode'] == '88' && !$vo['withdraw_status']) {
             // 成功
             $FreeLimit = $_POST['FreeLimit'];
             $FeeWithdraws = $_POST['FeeWithdraws'];
             $Amount = $_POST['Amount'];
             $updata['withdraw_status'] = 1;
             $updata['second_fee'] = $_POST['FeeWithdraws'];
             $updata['withdraw_fee'] = $FeeWithdraws;
             $updata['loanno'] = $_POST['LoanNo'];
             $xid = M('member_withdraw')->where("uid={$vo['uid']} AND id={$id}")->save($updata);
             if ($xid) {
                 $amoney = $_POST['Amount'] - $_POST['FeeWithdraws'];
                 memberMoneyLog($uid, 29, $_POST['Amount'], "提现成功,扣除实际手续费" . $FeeWithdraws . "元,到帐金额" . $amoney . "元", '0', '@网站管理员@', 0);
                 MTip('chk6', $uid);
                 echo "SUCCESS";
                 notifyMsg('提现', $_POST, 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'], 'SUCCESS');
                 exit;
             }
         } elseif ($_POST['ResultCode'] == '89' && $vo['withdraw_status'] == 1) {
             //退回资金
             $updata['withdraw_status'] = 2;
             $xid = M('member_withdraw')->where("uid={$uid} AND id={$id}")->save($updata);
             if ($xid) {
                 memberMoneyLog($uid, 5, $_POST['Amount'], "提现退回资金{$_POST['Amount']}元", '0', '@网站管理员@', 0);
                 notifyMsg('提现退回', $_POST, 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'], 'SUCCESS');
                 echo "SUCCESS";
                 exit;
             }
         }
         notifyMsg('提现', $_POST, 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'], '');
     }
 }
开发者ID:GStepOne,项目名称:CI,代码行数:41,代码来源:NoticeAction.class.php

示例5: withdraw

 /**
  * 提现通知地址
  * 
  */
 public function withdraw()
 {
     if ($_POST['ResultCode'] == '88') {
         import("ORG.Loan.Escrow");
         $loan = new Escrow();
         if ($loan->withdrawVerify($_POST)) {
             $updata['withdraw_status'] = 1;
             $id = $_REQUEST['OrderNo'];
             $vo = M('member_withdraw')->field('uid,money,fee,member_status')->where("id='{$id}'")->find();
             //if($vo['status']!=0 || !is_array($vo)) return;
             $xid = $withdrawlog->where("uid={$vo['uid']} AND id='{$id}'")->save($updata);
             $tmoney = floatval($vo['money'] - $vo['fee']);
             memberMoneyLog($this->uid, 4, -$withdraw_money, "提现,默认自动扣减手续费" . $fee . "元", '0', '@网站管理员@', 0);
             MTip('chk6', $this->uid);
             if (M('member_withdraw')->save($updata)) {
                 notifyMsg('提现', $_POST, 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'], 'SUCCESS');
                 echo "SUCCESS";
                 exit;
             }
             notifyMsg('提现', $_POST, 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'], '');
         }
     }
 }
开发者ID:GStepOne,项目名称:CI,代码行数:27,代码来源:NotifyAction.class.php

示例6: actwithdraw

 public function actwithdraw()
 {
     $pre = C('DB_PREFIX');
     $withdraw_money = floatval($_POST['amount']);
     $pwd = md5($_POST['pwd']);
     $vo = M('members m')->field('mm.account_money,mm.back_money,(mm.account_money+mm.back_money) all_money,m.user_leve,m.time_limit')->join("{$pre}member_money mm on mm.uid = m.id")->where("m.id={$this->uid} AND m.pin_pass='{$pwd}'")->find();
     if (!is_array($vo)) {
         ajaxmsg("", 0);
     }
     if ($vo['all_money'] < $withdraw_money) {
         ajaxmsg("提现额大于帐户余额", 2);
     }
     $wmap['uid'] = $this->uid;
     if (1 == 1 || $vo['user_leve'] > 0 && $vo['time_limit'] > time()) {
         $fee = 5;
         if ($vo['all_money'] - $withdraw_money - $fee < 0) {
             $moneydata['withdraw_money'] = $withdraw_money;
             $moneydata['withdraw_fee'] = $fee;
             $moneydata['second_fee'] = $fee;
             $moneydata['withdraw_status'] = 0;
             $moneydata['uid'] = $this->uid;
             $moneydata['add_time'] = time();
             $moneydata['add_ip'] = get_client_ip();
             $newid = M('member_withdraw')->add($moneydata);
             if ($newid) {
                 memberMoneyLog($this->uid, 4, -$withdraw_money, "提现,默认自动扣减手续费" . $fee . "元", '0', '@网站管理员@', 0);
                 MTip('chk6', $this->uid);
                 ajaxmsg("恭喜,提现申请提交成功", 1);
             }
         } else {
             $moneydata['withdraw_money'] = $withdraw_money;
             $moneydata['withdraw_fee'] = $fee;
             $moneydata['second_fee'] = $fee;
             $moneydata['withdraw_status'] = 0;
             $moneydata['uid'] = $this->uid;
             $moneydata['add_time'] = time();
             $moneydata['add_ip'] = get_client_ip();
             $newid = M('member_withdraw')->add($moneydata);
             if ($newid) {
                 memberMoneyLog($this->uid, 4, -$withdraw_money, "提现,默认自动扣减手续费" . $fee . "元", '0', '@网站管理员@');
                 MTip('chk6', $this->uid);
                 ajaxmsg("恭喜,提现申请提交成功", 1);
             }
         }
         ajaxmsg("对不起,提现出错,请重试", 2);
     } else {
         $fee = 5;
         if ($vo['account_money'] - $withdraw_money - $fee < 0) {
             $withdraw_money = $withdraw_money - $fee;
             $moneydata['withdraw_money'] = $withdraw_money;
             $moneydata['withdraw_fee'] = $fee;
             $moneydata['withdraw_status'] = 0;
             $moneydata['uid'] = $this->uid;
             $moneydata['add_time'] = time();
             $moneydata['add_ip'] = get_client_ip();
             $newid = M('member_withdraw')->add($moneydata);
             if ($newid) {
                 memberMoneyLog($this->uid, 4, -$withdraw_money - $fee, "提现,自动扣减手续费" . $fee . "元");
                 MTip('chk6', $this->uid);
                 ajaxmsg("恭喜,提现申请提交成功", 1);
             }
         } else {
             $moneydata['withdraw_money'] = $withdraw_money;
             $moneydata['withdraw_fee'] = $fee;
             $moneydata['withdraw_status'] = 0;
             $moneydata['uid'] = $this->uid;
             $moneydata['add_time'] = time();
             $moneydata['add_ip'] = get_client_ip();
             $newid = M('member_withdraw')->add($moneydata);
             if ($newid) {
                 memberMoneyLog($this->uid, 4, -$withdraw_money, "提现,自动扣减手续费" . $fee . "元", '0', '@网站管理员@', -$fee);
                 MTip('chk6', $this->uid);
                 ajaxmsg("恭喜,提现申请提交成功", 1);
             }
         }
         ajaxmsg("对不起,提现出错,请重试", 2);
     }
 }
开发者ID:kinglong366,项目名称:p2p,代码行数:78,代码来源:WithdrawController.class.php

示例7: index


//.........这里部分代码省略.........
     $listTBorrow = getTBorrowList($parm);
     //dump($listTBorrow);die;
     $this->assign("listTBorrow", $listTBorrow);
     ///////////////企业直投列表结束  gwf 2014-10-21//////////////
     $this->display();
     /****************************募集期内标未满,自动流标 新增 2013-03-13****************************/
     //流标返回
     $mapT = array();
     $mapT['collect_time'] = array("lt", time());
     $mapT['borrow_status'] = 2;
     $tlist = M("borrow_info")->field("id,borrow_uid,borrow_type,borrow_money,first_verify_time,borrow_interest_rate,borrow_duration,repayment_type,collect_day,collect_time")->where($mapT)->select();
     if (empty($tlist)) {
         exit;
     }
     foreach ($tlist as $key => $vbx) {
         $borrow_id = $vbx['id'];
         //流标
         $done = false;
         $borrowInvestor = D('borrow_investor');
         $binfo = M("borrow_info")->field("borrow_type,borrow_money,borrow_uid,borrow_duration,repayment_type")->find($borrow_id);
         $investorList = $borrowInvestor->field('id,investor_uid,investor_capital')->where("borrow_id={$borrow_id}")->select();
         M('investor_detail')->where("borrow_id={$borrow_id}")->delete();
         if ($binfo['borrow_type'] == 1) {
             $limit_credit = memberLimitLog($binfo['borrow_uid'], 12, $binfo['borrow_money'], $info = "{$binfo['id']}号标流标");
         }
         //返回额度
         $borrowInvestor->startTrans();
         $bstatus = 3;
         $upborrow_info = M('borrow_info')->where("id={$borrow_id}")->setField("borrow_status", $bstatus);
         //处理借款概要
         $buname = M('members')->getFieldById($binfo['borrow_uid'], 'user_name');
         //处理借款概要
         if (is_array($investorList)) {
             $upsummary_res = M('borrow_investor')->where("borrow_id={$borrow_id}")->setField("status", $type);
             foreach ($investorList as $v) {
                 MTip('chk15', $v['investor_uid']);
                 //sss
                 $accountMoney_investor = M("member_money")->field(true)->find($v['investor_uid']);
                 $datamoney_x['uid'] = $v['investor_uid'];
                 $datamoney_x['type'] = $type == 3 ? 16 : 8;
                 $datamoney_x['affect_money'] = $v['investor_capital'];
                 $datamoney_x['account_money'] = $accountMoney_investor['account_money'] + $datamoney_x['affect_money'];
                 //投标不成功返回充值资金池
                 $datamoney_x['collect_money'] = $accountMoney_investor['money_collect'];
                 $datamoney_x['freeze_money'] = $accountMoney_investor['money_freeze'] - $datamoney_x['affect_money'];
                 $datamoney_x['back_money'] = $accountMoney_investor['back_money'];
                 //会员帐户
                 $mmoney_x['money_freeze'] = $datamoney_x['freeze_money'];
                 $mmoney_x['money_collect'] = $datamoney_x['collect_money'];
                 $mmoney_x['account_money'] = $datamoney_x['account_money'];
                 $mmoney_x['back_money'] = $datamoney_x['back_money'];
                 //会员帐户
                 $_xstr = $type == 3 ? "复审未通过" : "募集期内标未满,流标";
                 $datamoney_x['info'] = "第{$borrow_id}号标" . $_xstr . ",返回冻结资金";
                 $datamoney_x['add_time'] = time();
                 $datamoney_x['add_ip'] = get_client_ip();
                 $datamoney_x['target_uid'] = $binfo['borrow_uid'];
                 $datamoney_x['target_uname'] = $buname;
                 $moneynewid_x = M('member_moneylog')->add($datamoney_x);
                 if ($moneynewid_x) {
                     $bxid = M('member_money')->where("uid={$datamoney_x['uid']}")->save($mmoney_x);
                 }
             }
         } else {
             $moneynewid_x = true;
             $bxid = true;
             $upsummary_res = true;
         }
         if ($moneynewid_x && $upsummary_res && $bxid && $upborrow_info) {
             $done = true;
             $borrowInvestor->commit();
         } else {
             $borrowInvestor->rollback();
         }
         if (!$done) {
             continue;
         }
         MTip('chk11', $vbx['borrow_uid'], $borrow_id);
         $verify_info['borrow_id'] = $borrow_id;
         $verify_info['deal_info_2'] = text($_POST['deal_info_2']);
         $verify_info['deal_user_2'] = 0;
         $verify_info['deal_time_2'] = time();
         $verify_info['deal_status_2'] = 3;
         if ($vbx['first_verify_time'] > 0) {
             M('borrow_verify')->save($verify_info);
         } else {
             M('borrow_verify')->add($verify_info);
         }
         $vss = M("members")->field("user_phone,user_name")->where("id = {$vbx['borrow_uid']}")->find();
         SMStip("refuse", $vss['user_phone'], array("#USERANEM#", "ID"), array($vss['user_name'], $verify_info['borrow_id']));
         //@SMStip("refuse",$vss['user_phone'],array("#USERANEM#","ID"),array($vss['user_name'],$verify_info['borrow_id']));
         //updateBinfo
         $newBinfo = array();
         $newBinfo['id'] = $borrow_id;
         $newBinfo['borrow_status'] = 3;
         $newBinfo['second_verify_time'] = time();
         $x = M("borrow_info")->save($newBinfo);
     }
     /****************************募集期内标未满,自动流标 新增 2013-03-13****************************/
 }
开发者ID:GStepOne,项目名称:CI,代码行数:101,代码来源:IndexAction.class.php

示例8: doEditWaitmoney

 public function doEditWaitmoney()
 {
     $m = D(ucfirst($this->getActionName()));
     if (false === $m->create()) {
         $this->error($m->getError());
     }
     $vm = M('borrow_info')->field('borrow_uid,borrow_type,borrow_money,first_verify_time,borrow_interest_rate,borrow_duration,repayment_type,collect_day,collect_time,borrow_fee,money_collect')->find($m->id);
     if ($vm['borrow_money'] != $m->borrow_money || $vm['borrow_interest_rate'] != $m->borrow_interest_rate || $vm['borrow_duration'] != $m->borrow_duration || $vm['repayment_type'] != $m->repayment_type || $vm['borrow_fee'] != $m->borrow_fee) {
         $this->error('招标中的借款不能再更改‘还款方式’,‘借款种类’,‘借款金额’,‘年化利率’,‘借款期限’,‘借款管理费’');
         exit;
     }
     //招标中的借款流标
     if ($m->borrow_status == 3) {
         alogs("borrowRefuse", 0, 1, '流标操作成功!');
         //管理员操作日志
         //流标返回
         $appid = borrowRefuse($m->id, 2);
         if (!$appid) {
             alogs("borrowRefuse", 0, 0, '流标操作失败!');
             //管理员操作日志
             $this->error("流标失败");
         }
         MTip('chk11', $vm['borrow_uid'], $m->id);
         $m->second_verify_time = time();
         //流标操作相当于复审
         $verify_info['borrow_id'] = $m->id;
         $verify_info['deal_info_2'] = text($_POST['deal_info_2']);
         $verify_info['deal_user_2'] = $this->admin_id;
         $verify_info['deal_time_2'] = time();
         $verify_info['deal_status_2'] = $m->borrow_status;
         if ($vm['first_verify_time'] > 0) {
             M('borrow_verify')->save($verify_info);
         } else {
             M('borrow_verify')->add($verify_info);
         }
         $vss = M("members")->field("user_phone,user_name")->where("id = {$vm['borrow_uid']}")->find();
         SMStip("refuse", $vss['user_phone'], array("#USERANEM#", "ID"), array($vss['user_name'], $m->id));
     } else {
         if ($vm['collect_day'] < $m->collect_day) {
             $spanday = $m->collect_day - $vm['collect_day'];
             $m->collect_time = strtotime("+ {$spanday} day", $vm['collect_time']);
         }
         unset($m->second_verify_time);
     }
     //保存当前数据对象
     unset($m->borrow_uid);
     ////////////////////图片编辑///////////////////////
     foreach ($_POST['swfimglist'] as $key => $v) {
         $row[$key]['img'] = substr($v, 1);
         $row[$key]['info'] = $_POST['picinfo'][$key];
     }
     $m->updata = serialize($row);
     ////////////////////图片编辑///////////////////////
     if ($result = $m->save()) {
         //保存成功
         //$this->assign("waitSecond",10000);
         alogs("borrowing", 0, 1, '招标中的借款操作修改成功!');
         //管理员操作日志
         //成功提示
         $this->assign('jumpUrl', __URL__ . "/" . session('listaction'));
         $this->success(L('修改成功'));
     } else {
         alogs("borrowing", 0, 0, '招标中的借款操作修改失败!');
         //管理员操作日志
         //失败提示
         $this->error(L('修改失败'));
     }
 }
开发者ID:kinglong366,项目名称:p2p,代码行数:68,代码来源:BorrowController.class.php

示例9: doEditWaitmoney

    public function doEditWaitmoney()
    {
        //复审的时候这些信息不允许更改
        unset($_POST["repayment_type"]);
        unset($_POST["borrow_money"]);
        unset($_POST["borrow_interest_rate"]);
        unset($_POST["borrow_duration"]);
        unset($_POST["reward_type"]);
        unset($_POST["can_auto"]);
        unset($_POST["is_tuijian"]);
        unset($_POST["borrow_type"]);
        unset($_POST["borrow_fee"]);
        unset($_POST["collect_day"]);
        unset($_POST["borrow_max"]);
        $m = D(ucfirst($this->getActionName()));
        if (false === $m->create()) {
            $this->error($m->getError());
        }
        //$vm = M('borrow_info')->field('borrow_uid,borrow_type,borrow_money,first_verify_time,borrow_interest_rate,borrow_duration,repayment_type,collect_day,collect_time')->find($m->id);
        $vm = M('borrow_info')->alias('bi')->field('borrow_uid,borrow_status,borrow_type,first_verify_time,password,updata,borrow_name,borrow_money,borrow_interest_rate,repayment_type,borrow_duration,
				borrow_info,pro_provide,can_auto,is_tuijian,borrow_fee,collect_day,borrow_max,reward_type,reward_num,bv.deal_info')->join("left join {$this->pre}borrow_verify bv on bi.id=bv.borrow_id")->where(array("bi.id" => $m->id))->find();
        // 		if(	 $vm['borrow_money']<>$m->borrow_money ||
        // 			 $vm['borrow_interest_rate']<>$m->borrow_interest_rate ||
        // 			 $vm['borrow_duration']<>$m->borrow_duration ||
        // 			 $vm['borrow_type']<>$m->borrow_type ||
        // 			 $vm['repayment_type']<>$m->repayment_type
        // 		  ){
        // 			$this->error('招标中的借款不能再更改‘还款方式’,‘借款种类’,‘借款金额’,‘年化利率’,‘借款期限’');
        // 			exit;
        // 		}
        //招标中的借款流标
        if ($m->borrow_status == 3) {
            //流标返回
            $appid = borrowRefuse($m->id, 2);
            if (!$appid) {
                $this->error("流标失败");
            }
            MTip('chk11', $vm['borrow_uid'], $m->id);
            $m->second_verify_time = time();
            //流标操作相当于复审
            $verify_info['borrow_id'] = $m->id;
            $verify_info['deal_info_2'] = text($_POST['deal_info']);
            $verify_info['deal_user_2'] = $this->admin_id;
            $verify_info['deal_time_2'] = time();
            $verify_info['deal_status_2'] = $m->borrow_status;
            if ($vm['first_verify_time'] > 0) {
                M('borrow_verify')->save($verify_info);
            } else {
                M('borrow_verify')->add($verify_info);
            }
            $vss = M("members")->field("user_phone,user_name")->where("id = {$vm['borrow_uid']}")->find();
            SMStip("refuse", $vss['user_phone'], array("#USERANEM#", "ID"), array($vss['user_name'], $verify_info['borrow_id']), $verify_info['borrow_id'], array($vm['borrow_uid']));
        } else {
            if ($vm['collect_day'] < $m->collect_day) {
                $spanday = $m->collect_day - $vm['collect_day'];
                $m->collect_time = strtotime("+ {$spanday} day", $vm['collect_time']);
            }
            unset($m->second_verify_time);
        }
        //保存当前数据对象
        unset($m->borrow_uid);
        ////////////////////图片编辑///////////////////////
        foreach ($_POST['swfimglist'] as $key => $v) {
            $row[$key]['img'] = substr($v, 1);
            $row[$key]['info'] = $_POST['picinfo'][$key];
        }
        $m->updata = serialize($row);
        ////////////////////图片编辑///////////////////////
        if (($result = $m->save()) !== false) {
            //保存成功
            //$this->assign("waitSecond",10000);
            //成功提示
            // 日志记录
            unset($vm["repayment_type"]);
            unset($vm["borrow_money"]);
            unset($vm["borrow_interest_rate"]);
            unset($vm["borrow_duration"]);
            unset($vm["reward_type"]);
            unset($vm["reward_num"]);
            unset($vm["can_auto"]);
            unset($vm["is_tuijian"]);
            unset($vm["borrow_type"]);
            unset($vm["borrow_fee"]);
            unset($vm["collect_day"]);
            unset($vm["borrow_max"]);
            saveDataLog($_POST['id'], $vm, $_POST, C('BORROW_LOG_KEY'), session('adminname'), $this->admin_id, $this->logOpType["BORROW_OPT"][0]);
            $this->assign('jumpUrl', __URL__ . "/" . session('listaction'));
            $this->success('修改成功');
        } else {
            //失败提示
            $this->error('修改失败');
        }
    }
开发者ID:hutao1004,项目名称:yintt,代码行数:93,代码来源:BorrowAction.class.php

示例10: index


//.........这里部分代码省略.........
     $listFBorrow = getTBorrowList($parm);
     //var_dump($listBorrow);
     $this->assign("listFBorrow", $listFBorrow);
     ///////////////省心宝列表结束  fan 2014-06-13///////////////
     $this->display();
     /****************************募集期内标未满,自动流标 新增 2013-03-13****************************/
     //流标返回
     $mapT = array();
     $mapT['collect_time'] = array("lt", time());
     $mapT['borrow_status'] = 2;
     $tlist = M("borrow_info")->field("id,borrow_uid,borrow_type,borrow_money,first_verify_time,borrow_interest_rate,borrow_duration,repayment_type,collect_day,collect_time")->where($mapT)->select();
     if (empty($tlist)) {
         exit;
     }
     foreach ($tlist as $key => $vbx) {
         $borrow_id = $vbx['id'];
         //流标
         $done = false;
         $borrowInvestor = D('borrow_investor');
         $binfo = M("borrow_info")->field("borrow_type,borrow_money,borrow_uid,borrow_duration,repayment_type")->find($borrow_id);
         $investorList = $borrowInvestor->field('id,investor_uid,investor_capital')->where("borrow_id={$borrow_id}")->select();
         M('investor_detail')->where("borrow_id={$borrow_id}")->delete();
         if ($binfo['borrow_type'] == 1) {
             $limit_credit = memberLimitLog($binfo['borrow_uid'], 12, $binfo['borrow_money'], $info = "{$binfo['id']}号标流标");
         }
         //返回额度
         $borrowInvestor->startTrans();
         $bstatus = 3;
         $upborrow_info = M('borrow_info')->where("id={$borrow_id}")->setField("borrow_status", $bstatus);
         //处理借款概要
         $buname = M('members')->getFieldById($binfo['borrow_uid'], 'user_name');
         //处理借款概要
         if (is_array($investorList)) {
             $upsummary_res = M('borrow_investor')->where("borrow_id={$borrow_id}")->setField("status", $type);
             foreach ($investorList as $v) {
                 MTip('chk15', $v['investor_uid']);
                 //sss
                 $accountMoney_investor = M("member_money")->field(true)->find($v['investor_uid']);
                 $datamoney_x['uid'] = $v['investor_uid'];
                 $datamoney_x['type'] = $type == 3 ? 16 : 8;
                 $datamoney_x['affect_money'] = $v['investor_capital'];
                 $datamoney_x['account_money'] = $accountMoney_investor['account_money'] + $datamoney_x['affect_money'];
                 //投标不成功返回充值资金池
                 $datamoney_x['collect_money'] = $accountMoney_investor['money_collect'];
                 $datamoney_x['freeze_money'] = $accountMoney_investor['money_freeze'] - $datamoney_x['affect_money'];
                 $datamoney_x['back_money'] = $accountMoney_investor['back_money'];
                 //会员帐户
                 $mmoney_x['money_freeze'] = $datamoney_x['freeze_money'];
                 $mmoney_x['money_collect'] = $datamoney_x['collect_money'];
                 $mmoney_x['account_money'] = $datamoney_x['account_money'];
                 $mmoney_x['back_money'] = $datamoney_x['back_money'];
                 //会员帐户
                 $_xstr = $type == 3 ? "复审未通过" : "募集期内标未满,流标";
                 $datamoney_x['info'] = "第{$borrow_id}号标" . $_xstr . ",返回冻结资金";
                 $datamoney_x['add_time'] = time();
                 $datamoney_x['add_ip'] = get_client_ip();
                 $datamoney_x['target_uid'] = $binfo['borrow_uid'];
                 $datamoney_x['target_uname'] = $buname;
                 $moneynewid_x = M('member_moneylog')->add($datamoney_x);
                 if ($moneynewid_x) {
                     $bxid = M('member_money')->where("uid={$datamoney_x['uid']}")->save($mmoney_x);
                 }
             }
         } else {
             $moneynewid_x = true;
             $bxid = true;
             $upsummary_res = true;
         }
         if ($moneynewid_x && $upsummary_res && $bxid && $upborrow_info) {
             $done = true;
             $borrowInvestor->commit();
         } else {
             $borrowInvestor->rollback();
         }
         if (!$done) {
             continue;
         }
         MTip('chk11', $vbx['borrow_uid'], $borrow_id);
         $verify_info['borrow_id'] = $borrow_id;
         $verify_info['deal_info_2'] = text($_POST['deal_info_2']);
         $verify_info['deal_user_2'] = 0;
         $verify_info['deal_time_2'] = time();
         $verify_info['deal_status_2'] = 3;
         if ($vbx['first_verify_time'] > 0) {
             M('borrow_verify')->save($verify_info);
         } else {
             M('borrow_verify')->add($verify_info);
         }
         $vss = M("members")->field("user_phone,user_name")->where("id = {$vbx['borrow_uid']}")->find();
         SMStip("refuse", $vss['user_phone'], array("#USERANEM#", "ID"), array($vss['user_name'], $verify_info['borrow_id']));
         //@SMStip("refuse",$vss['user_phone'],array("#USERANEM#","ID"),array($vss['user_name'],$verify_info['borrow_id']));
         //updateBinfo
         $newBinfo = array();
         $newBinfo['id'] = $borrow_id;
         $newBinfo['borrow_status'] = 3;
         $newBinfo['second_verify_time'] = time();
         $x = M("borrow_info")->save($newBinfo);
     }
     /****************************募集期内标未满,自动流标 新增 2013-03-13****************************/
 }
开发者ID:kinglong366,项目名称:p2p,代码行数:101,代码来源:IndexController.class.php

示例11: setpassword

 public function setpassword()
 {
     if (true === $_SESSION['vphone'] && $_SESSION['retrieve_name']) {
         $password = $_POST['psw'];
         $password1 = $_POST['psw1'];
         if (empty($password)) {
             ajaxmsg('请输入密码', 0);
         }
         if ($password != $password1) {
             ajaxmsg('两次密码不一样', 0);
         }
         $vo = M('members')->field('id,user_phone,user_pass')->where(array('user_name' => $_SESSION['retrieve_name']))->find();
         if (!$vo) {
             ajaxmsg('参数错误', 0);
         }
         if ($vo['user_phone'] != $_SESSION['retrieve_phone']) {
             ajaxmsg('验证码不正确');
         }
         if (md5($password) == $vo['user_pass']) {
             ajaxmsg('密码修改成功');
         }
         $newid = M('members')->where("id={$vo['id']}")->setField('user_pass', md5($password));
         if ($newid) {
             MTip('chk1', $vo['id']);
             ajaxmsg('密码修改成功');
         } else {
             ajaxmsg('修改失败', 0);
         }
     } else {
         ajaxmsg('参数错误1', 0);
     }
 }
开发者ID:caotieshuan,项目名称:ishoutou,代码行数:32,代码来源:CommonAction.class.php

示例12: autoInvest

function autoInvest($borrow_id)
{
    $binfo = M("borrow_info")->field('borrow_uid,borrow_money,borrow_type,repayment_type,borrow_interest_rate,borrow_duration,has_vouch,has_borrow,borrow_max,borrow_min,can_auto')->find($borrow_id);
    if ($binfo['can_auto'] == '0') {
        exit;
    }
    $map['a.is_use'] = 1;
    $map['borrow_type'] = 1;
    if ($map['a.end_time'] > 0) {
        $map['a.end_time'] = array("gt", time());
    }
    $autolist = M("auto_borrow a")->join(C('DB_PREFIX') . "member_money m ON a.uid=m.uid")->join(C('DB_PREFIX') . "members ms ON a.uid=ms.id")->field("a.*,ms.usrid, m.account_money+m.back_money as money")->where($map)->order("a.invest_time asc")->select();
    $needMoney = $binfo['borrow_money'] - $binfo['has_borrow'];
    $pre = C('DB_PREFIX');
    $info2 = M("members m")->field("m.usrid")->join("{$pre}borrow_info s ON s.borrow_uid=m.id")->where("s.id = " . $borrow_id)->find();
    $borrowerid = $info2['usrid'];
    $borrowid = $borrow_id;
    $usrid = array();
    $transamt = array();
    foreach ($autolist as $key => $v) {
        if (!$needMoney) {
            break;
        }
        if ($v['uid'] == $binfo['borrow_uid']) {
            continue;
        }
        $num_max1 = intval($v['money'] - $v['account_money']);
        //账户余额-设置的最少剩余金额,即可用的投资金额数
        $num_max4 = $binfo['borrow_money'] / 10;
        //不能超过10%
        //大于最大投标且设置最大投标
        if ($investMoney > $binfo['borrow_max'] && $binfo['borrow_max'] > 0) {
            $investMoney = $binfo['borrow_max'];
        }
        if ($num_max1 > $v['invest_money']) {
            //如果可用的投资金额大于最大投资金额,则投资金额等于最大投资金额
            $investMoney = $v['invest_money'];
        } else {
            $investMoney = $num_max1;
            //如果未设置投标后账户余额,则会投出全部余额
        }
        if ($investMoney > $needMoney) {
            $investMoney = $needMoney;
        } else {
            if ($binfo['borrow_min']) {
                //设置了最小投标    如果直接满标则不考虑最小投标
                if ($investMoney < $binfo['borrow_min']) {
                    // 小于最低投标
                    continue;
                    //不符合最低投资金额
                } elseif ($needMoney - $investMoney > 0 && $needMoney - $investMoney < $binfo['borrow_min']) {
                    // 剩余金额小于最小投标金额
                    if ($investMoney - $binfo['borrow_min'] >= $binfo['borrow_min']) {
                        // 投资金额- 最小投资金额 大于最小投资金额
                        $investMoney = $investMoney - $binfo['borrow_min'];
                        // 投资 = 投资-最小投资(保证下次投资金额大于最小投资金额)
                    } else {
                        continue;
                    }
                }
            }
        }
        //投资金额不能大于借款金额的10%
        if ($investMoney > $num_max4) {
            $investMoney = $num_max4;
        }
        if ($investMoney % $binfo['borrow_min'] != 0) {
            continue;
        }
        $tiaojian = "{$needMoney} > 0";
        //可投金额大于0
        if ($v['interest_rate'] > 0) {
            $tiaojian .= " && " . $binfo['borrow_interest_rate'] . " >= " . $v['interest_rate'];
            //利率范围
        }
        if ($v['duration_from'] > 0 && $v['duration_to'] > 0 && $v['duration_from'] <= $v['duration_to']) {
            $tiaojian .= " && (" . $binfo['borrow_duration'] . " >= " . $v['duration_from'] . " || " . $v['duration_from'] . "==0) && (" . $binfo['borrow_duration'] . " <= " . $v['duration_to'] . " || " . $v['duration_to'] . "==0)";
            //借款期限范围
        }
        $tiaojian .= " && " . $investMoney . " >= " . $v['min_invest'];
        $tiaojian .= " && (" . $v['money'] . " - " . $v['account_money'] . ") >= " . $investMoney;
        //余额限制
        if ($tiaojian) {
            $usrid[] = $v['usrid'];
            $transamt[] = $investMoney;
            $needMoney = $needMoney - $investMoney;
            // 减去剩余已投金额
            MTip('chk27', $v['uid'], $borrow_id, $v['id']);
            //sss
            M('auto_borrow')->where('id = ' . $v['id'])->save(array("invest_time" => time()));
        }
    }
    /////////////////////////////////////////////////////汇付托管 2014-10-09///////////////////////////////////////////////////////////////
    import("ORG.Huifu.Huifu");
    $huifu = new Huifu();
    $huifu->autoTender_multi($usrid, $transamt, $borrowerid, $borrowid);
    /////////////////////////////////////////////////////汇付托管 END///////////////////////////////////////////////////////////////
    return true;
}
开发者ID:GStepOne,项目名称:CI,代码行数:99,代码来源:DataSource.php

示例13: actwithdraw

 public function actwithdraw()
 {
     $pre = C('DB_PREFIX');
     $withdraw_money = floatval($_POST['amount']);
     $pwd = md5($_POST['pwd']);
     $vo = M('members m')->field('mm.account_money,m.user_leve,m.time_limit')->join("{$pre}member_money mm on mm.uid = m.id")->where("m.id={$this->uid} AND m.pin_pass='{$pwd}'")->find();
     if (!is_array($vo)) {
         ajaxmsg("", 0);
     }
     if ($vo['account_money'] < $withdraw_money) {
         ajaxmsg("提现额大于帐户余额", 2);
     }
     $start = strtotime(date("Y-m-d", time()) . " 00:00:00");
     $end = strtotime(date("Y-m-d", time()) . " 23:59:59");
     $wmap['uid'] = $this->uid;
     $wmap['withdraw_status'] = array("neq", 3);
     $wmap['add_time'] = array("between", "{$start},{$end}");
     $today_money = M('member_withdraw')->where($wmap)->sum('withdraw_money');
     if ($vo['user_leve'] > 0 && $vo['time_limit'] > time()) {
         if ($today_money + $withdraw_money > 1000000) {
             $message = "您是特权会员,单日提现上限为100万元。您今日已经申请提现金额:{$today_money元},当前申请金额为:{$withdraw_money元},已超出单日上限,请您修改申请金额或改日再申请提现";
             ajaxmsg($message, 2);
         }
         $tqfee = explode("|", $this->glo['fee_tqtx']);
         $fee = getFloatValue($tqfee[0] * $withdraw_money / 100, 2);
         $fee > $tqfee[1] ? $fee = $tqfee[1] : '';
         if (1 == 2 && $vo['account_money'] - $withdraw_money - $fee < 0) {
             $withdraw_money = $withdraw_money - $fee;
             $moneydata['withdraw_money'] = $withdraw_money;
             $moneydata['withdraw_fee'] = $fee;
             $moneydata['withdraw_status'] = 0;
             $moneydata['uid'] = $this->uid;
             $moneydata['add_time'] = time();
             $moneydata['add_ip'] = get_client_ip();
             $newid = M('member_withdraw')->add($moneydata);
             if ($newid) {
                 memberMoneyLog($this->uid, 4, -$withdraw_money - $fee, "提现");
                 MTip('chk6', $this->uid);
                 ajaxmsg("恭喜,提现申请提交成功", 1);
             }
         } else {
             $moneydata['withdraw_money'] = $withdraw_money;
             $moneydata['withdraw_fee'] = $fee;
             $moneydata['withdraw_status'] = 0;
             $moneydata['uid'] = $this->uid;
             $moneydata['add_time'] = time();
             $moneydata['add_ip'] = get_client_ip();
             $newid = M('member_withdraw')->add($moneydata);
             if ($newid) {
                 memberMoneyLog($this->uid, 4, -$withdraw_money, "提现");
                 MTip('chk6', $this->uid);
                 ajaxmsg("恭喜,提现申请提交成功", 1);
             }
         }
         ajaxmsg("对不起,提现出错,请重试", 2);
     } else {
         if ($today_money + $withdraw_money > 300000) {
             $message = "您是普通会员,单日提现上限为30万元。您今日已经申请提现金额:{$today_money元},当前申请金额为:{$withdraw_money元},已超出单日上限,请您修改申请金额或改日再申请提现";
             ajaxmsg($message, 2);
         }
         $tqfee = $this->glo['fee_pttx'];
         $fee = getFloatValue($tqfee * $withdraw_money / 100, 2);
         if ($vo['account_money'] - $withdraw_money - $fee < 0) {
             $withdraw_money = $withdraw_money - $fee;
             $moneydata['withdraw_money'] = $withdraw_money;
             $moneydata['withdraw_fee'] = $fee;
             $moneydata['withdraw_status'] = 0;
             $moneydata['uid'] = $this->uid;
             $moneydata['add_time'] = time();
             $moneydata['add_ip'] = get_client_ip();
             $newid = M('member_withdraw')->add($moneydata);
             if ($newid) {
                 memberMoneyLog($this->uid, 4, -$withdraw_money - $fee, "提现");
                 MTip('chk6', $this->uid);
                 ajaxmsg("恭喜,提现申请提交成功", 1);
             }
         } else {
             $moneydata['withdraw_money'] = $withdraw_money;
             $moneydata['withdraw_fee'] = $fee;
             $moneydata['withdraw_status'] = 0;
             $moneydata['uid'] = $this->uid;
             $moneydata['add_time'] = time();
             $moneydata['add_ip'] = get_client_ip();
             $newid = M('member_withdraw')->add($moneydata);
             if ($newid) {
                 memberMoneyLog($this->uid, 4, -($withdraw_money + $fee), "提现");
                 MTip('chk6', $this->uid);
                 ajaxmsg("恭喜,提现申请提交成功", 1);
             }
         }
         ajaxmsg("对不起,提现出错,请重试", 2);
     }
 }
开发者ID:hutao1004,项目名称:yintt,代码行数:93,代码来源:WithdrawAction.class.php

示例14: index


//.........这里部分代码省略.........
         $row[$v['type']]['name'] = $name[$v['type']];
     }
     $this->assign('staticslist', $row);
     //理财产品
     //$financial_arr = getFinancialData();
     //$this->assign('financial_arr',$financial_arr);
     ////////////////////////////////////////////
     $this->display();
     /****************************募集期内标未满,自动流标 新增 2013-03-13****************************/
     //流标返回
     $mapT = array();
     $mapT['collect_time'] = array("lt", time());
     $mapT['borrow_status'] = 2;
     $tlist = M("borrow_info")->field("id,borrow_uid,borrow_type,borrow_money,first_verify_time,borrow_interest_rate,borrow_duration,repayment_type,collect_day,collect_time")->where($mapT)->select();
     if (empty($tlist)) {
         exit;
     }
     foreach ($tlist as $key => $vbx) {
         $borrow_id = $vbx['id'];
         //流标
         $done = false;
         $borrowInvestor = D('borrow_investor');
         $binfo = M("borrow_info")->field("borrow_type,borrow_money,borrow_uid,borrow_duration,repayment_type")->find($borrow_id);
         $investorList = $borrowInvestor->field('id,investor_uid,investor_capital')->where("borrow_id={$borrow_id}")->select();
         M('investor_detail')->where("borrow_id={$borrow_id}")->delete();
         if ($binfo['borrow_type'] == 1) {
             $limit_credit = memberLimitLog($binfo['borrow_uid'], 12, $binfo['borrow_money'], $info = "{$binfo['id']}号标流标");
         }
         //返回额度
         $borrowInvestor->startTrans();
         $bstatus = $type = 3;
         $upborrow_info = M('borrow_info')->where("id={$borrow_id}")->setField("borrow_status", $bstatus);
         //处理借款概要
         $buname = M('members')->getFieldById($binfo['borrow_uid'], 'user_name');
         //处理借款概要
         if (is_array($investorList)) {
             $upsummary_res = M('borrow_investor')->where("borrow_id={$borrow_id}")->setField("status", $type);
             foreach ($investorList as $v) {
                 MTip('chk15', $v['investor_uid'], $borrow_id);
                 //sss
                 $accountMoney_investor = M("member_money")->field(true)->find($v['investor_uid']);
                 $datamoney_x['uid'] = $v['investor_uid'];
                 $datamoney_x['type'] = 8;
                 $datamoney_x['affect_money'] = $v['investor_capital'];
                 $datamoney_x['account_money'] = $accountMoney_investor['account_money'] + $datamoney_x['affect_money'];
                 $datamoney_x['collect_money'] = $accountMoney_investor['money_collect'];
                 $datamoney_x['freeze_money'] = $accountMoney_investor['money_freeze'] - $datamoney_x['affect_money'];
                 //会员帐户
                 $mmoney_x['money_freeze'] = $datamoney_x['freeze_money'];
                 $mmoney_x['money_collect'] = $datamoney_x['collect_money'];
                 $mmoney_x['account_money'] = $datamoney_x['account_money'];
                 //会员帐户
                 $_xstr = "募集期内标未满,流标";
                 $datamoney_x['info'] = "第{$borrow_id}号标" . $_xstr . ",返回冻结资金";
                 $datamoney_x['add_time'] = time();
                 $datamoney_x['add_ip'] = get_client_ip();
                 $datamoney_x['target_uid'] = $binfo['borrow_uid'];
                 $datamoney_x['target_uname'] = $buname;
                 $moneynewid_x = M('member_moneylog')->add($datamoney_x);
                 if ($moneynewid_x) {
                     $bxid = M('member_money')->where("uid={$datamoney_x['uid']}")->save($mmoney_x);
                 }
             }
         } else {
             $moneynewid_x = true;
             $bxid = true;
             $upsummary_res = true;
         }
         if ($moneynewid_x && $upsummary_res && $bxid && $upborrow_info) {
             $done = true;
             $borrowInvestor->commit();
         } else {
             $borrowInvestor->rollback();
         }
         if (!$done) {
             continue;
         }
         MTip('chk11', $vbx['borrow_uid'], $borrow_id);
         $verify_info['borrow_id'] = $borrow_id;
         $verify_info['deal_info_2'] = text($_POST['deal_info_2']);
         $verify_info['deal_user_2'] = 0;
         $verify_info['deal_time_2'] = time();
         $verify_info['deal_status_2'] = 3;
         if ($vbx['first_verify_time'] > 0) {
             M('borrow_verify')->save($verify_info);
         } else {
             M('borrow_verify')->add($verify_info);
         }
         $vss = M("members")->field("user_phone,user_name")->where("id = {$vbx['borrow_uid']}")->find();
         SMStip("refuse", $vss['user_phone'], array("#USERANEM#", "ID"), array($vss['user_name'], $verify_info['borrow_id']), $verify_info['borrow_id'], array($vbx['borrow_uid']));
         //@SMStip("refuse",$vss['user_phone'],array("#USERANEM#","ID"),array($vss['user_name'],$verify_info['borrow_id']));
         //updateBinfo
         $newBinfo = array();
         $newBinfo['id'] = $borrow_id;
         $newBinfo['borrow_status'] = 3;
         $newBinfo['second_verify_time'] = time();
         $x = M("borrow_info")->save($newBinfo);
     }
     /****************************募集期内标未满,自动流标 新增 2013-03-13****************************/
 }
开发者ID:hutao1004,项目名称:yintt,代码行数:101,代码来源:TestAction.class.php

示例15: withdrawDone

 private function withdrawDone($status, $nid, $oid)
 {
     $done = false;
     $withdrawlog = D('member_withdraw');
     if ($this->locked) {
         return false;
     }
     $this->locked = true;
     switch ($status) {
         case 1:
             $updata['status'] = $status;
             $updata['tran_id'] = text($oid);
             $vo = M('member_withdraw')->field('uid,money,fee,status')->where("nid='{$nid}'")->find();
             if ($vo['status'] != 0 || !is_array($vo)) {
                 return;
             }
             $xid = $withdrawlog->where("uid={$vo['uid']} AND nid='{$nid}'")->save($updata);
             $tmoney = floatval($vo['money'] - $vo['fee']);
             memberMoneyLog($this->uid, 4, -$withdraw_money, "提现,默认自动扣减手续费" . $fee . "元", '0', '@网站管理员@', 0);
             MTip('chk6', $this->uid);
             //if(!$newid){
             //	$updata['status'] = 0;
             //	$Moneylog->where("uid={$vo['uid']} AND nid='{$nid}'")->save($updata);
             //	return false;
             //}
             //$vx = M("members")->field("user_phone,user_name")->find($vo['uid']);
             //SMStip("payonline",$vx['user_phone'],array("#USERANEM#","#MONEY#"),array($vx['user_name'],$vo['money']));
             break;
         case 2:
             $updata['status'] = $status;
             $updata['tran_id'] = text($oid);
             $xid = $withdrawlog->where("uid={$vo['uid']} AND nid='{$nid}'")->save($updata);
             break;
         case 3:
             $updata['status'] = $status;
             $xid = $withdrawlog->where("uid={$vo['uid']} AND nid='{$nid}'")->save($updata);
             break;
     }
     if ($status > 0) {
         if ($xid) {
             $done = true;
         }
     }
     $this->locked = false;
     return $done;
 }
开发者ID:caotieshuan,项目名称:ishoutou,代码行数:46,代码来源:WithdrawAction.class.php


注:本文中的MTip函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。