public function usrtransfer() { $usrid = "6000060000435300"; $incustid = "6000060000443612"; $transamt = 100; import("ORG.Huifu.Huifu"); $huifu = new Huifu(); $res = $huifu->usrTransfer($usrid, $incustid, $transamt); }
public function doguar() { $usr = M("members")->field("usrid")->where("id={$this->uid}")->find(); $usrid = $usr['usrid']; $receive_account = $_POST['receive_account']; $incust = M("members")->field("usrid")->where("user_name='" . $receive_account . "'")->find(); $incustid = $incust['usrid']; $transamt = $_POST['money']; import("ORG.Huifu.Huifu"); $huifu = new Huifu(); $res = $huifu->usrTransfer($usrid, $incustid, $transamt); }