update
Change-Id: I200dee500e38bca4981a68ab861986d2d48bacc7
This commit is contained in:
parent
0b9a8a9a7e
commit
ae66ccc595
|
@ -43,7 +43,7 @@ if(!$wxpay_key) {
|
|||
$ddInfo = $db->get_one("select a.*, c.company_name, c.wxpay_key from tb_recharge_pay_weixin a, tb_user b, tb_company c where a.uid=b.id and b.company_id=c.id and a.code = '{$out_trade_no}'");
|
||||
if(!$ddInfo) exit;
|
||||
|
||||
$wxpay_key = $ddInfo['wxpay_key'];
|
||||
$wxpay_key = $ddInfo['applet_key'];
|
||||
}
|
||||
}
|
||||
$db->query("insert into tb_recharge_pay_weixin_recv set bank_type='".$data['bank_type']."',cash_fee='".$data['cash_fee']."',fee_type='".$data['fee_type']."',is_subscribe='".$data['is_subscribe']."',openid='".$data['openid']."',out_trade_no='".$data['out_trade_no']."',result_code='".$data['result_code']."',return_code='".$data['return_code']."',sign='".$data['sign']."',time_end='".$data['time_end']."',total_fee='".$data['total_fee']."',trade_type='".$data['trade_type']."',transaction_id='".$data['transaction_id']."',trade_state='".$data['trade_state']."',trade_state_desc='".addslashes($data['trade_state_desc'])."',err_code='".$data['err_code']."',err_code_des='".$data['err_code_des']."',addtime=now()");
|
||||
|
|
Loading…
Reference in New Issue