Ejemplo n.º 1
0
 public static function readPayFee($authorid, $bankid, $money, $arriveid, $type, $paytype = '')
 {
     $db = new DB_test();
     $ErrorReponse = new ErrorReponse();
     // $authorid 商户id $bankid 银行id   $money 金额   $type 交易类型:1为信用卡还款,2为转账汇款,3为信贷还款
     $query = "select fd_author_bkcardscdmsetid as bkcardscdmsetid , fd_author_bkcardpayfsetid as bkcardpayfsetid," . " fd_author_slotscdmsetid as slotscdmsetid, fd_author_slotpayfsetid as slotpayfsetid from tb_author " . " where fd_author_id='{$authorid}'";
     //echo $query;
     if ($db->execute($query)) {
         $array_taocan = $db->get_one($query);
     }
     $arr_returnvalue = GetPayCalcuInfo::getTaocanfee($authorid, $array_taocan, $type, $money, $paytype);
     return $arr_returnvalue;
 }