public function unfreeze() { $borrowid = intval($_POST['bid']); $sort_order = intval($_POST['sort_order']); $borrowtrxid = M("borrow_info")->field("freezetrxid")->where("id=" . $borrowid)->find(); $freezetrxid = $borrowtrxid['freezetrxid']; $type = 2; import("ORG.Huifu.Huifu"); $huifu = new Huifu(); $huifu->usrUnFreeze($freezetrxid, $borrowid, $sort_order, $type); }
public function userunfreeze() { //$trxid='201510210002528553'; $trxid = $_POST['unfreezeno']; $bi = M('borrow_investor'); $bires = $bi->getFieldByFreezetrxid($trxid, 'borrow_id,investor_uid'); //echo M()->getLastSql(); //dei; $borrowid = $bires['borrow_id']; //$investoruid=$bires['investor_uid']; // $borrowid=1039; import("ORG.Huifu.Huifu"); $huifu = new Huifu(); $hfres = $huifu->usrUnFreeze($trxid, $borrowid, $sort_order, $type); echo "解冻成功"; //dump($hfres); }
public function usrunfreeze() { $trxid = "201409290000201925"; import("ORG.Huifu.Huifu"); $huifu = new Huifu(); $huifu->usrUnFreeze($trxid); }