public function pay() { $info = M("members")->field("usrid")->where("id=" . $this->uid)->find(); $usrid = $info['usrid']; $transamt = $_POST['money']; import("ORG.Huifu.Huifu"); $huifu = new Huifu(); $huifu->netSave($usrid, $transamt); }
public function dopay() { $tuoguan = FS("Webconfig/tuoguanconfig"); $usrid = $tuoguan['huifu']['MerCustId']; $transamt = $_POST['money']; import("ORG.Huifu.Huifu"); $huifu = new Huifu(); $huifu->netSave($usrid, $transamt); }