no message
Change-Id: I89aa17f4b1fa7c6620d8704876f4df95c9fd2d6d
This commit is contained in:
parent
3701053505
commit
46493d2ca7
|
@ -216,9 +216,8 @@ if($act == 'applet_unifiedorder') {
|
|||
$cInfo = $db->get_one("select * from tb_company where id=". $company_id);
|
||||
if(!$cInfo) exit;
|
||||
|
||||
|
||||
$applet_mch_id = $cInfo['wxpay_mch_id'];
|
||||
$applet_appid = $cInfo['wxpay_appid'];
|
||||
$applet_mch_id = $cInfo['wxpay_mch_id'];
|
||||
$applet_key = $cInfo['wxpay_key'];
|
||||
|
||||
if(!$applet_mch_id || !$applet_appid || !$applet_key) {
|
||||
|
@ -238,9 +237,9 @@ if($act == 'applet_unifiedorder') {
|
|||
$code = get_code('tb_recharge_pay_weixin', 'code', 12, 'num', "FTDC".date("Ymd"));
|
||||
$time_expire = date("YmdHis", time()+600);
|
||||
$data = array();
|
||||
$data['appid'] = $applet_mch_id;
|
||||
$data['appid'] = $applet_appid;
|
||||
$data['body'] = '订餐系统-充值'.($total_fee/100)."元";
|
||||
$data['mch_id'] = $applet_appid;
|
||||
$data['mch_id'] = $applet_mch_id;
|
||||
$data['nonce_str'] = md5(time()."_".rand());
|
||||
$data['notify_url'] = "https://yzms.fsecity.com/show/wxpay_recv.php";
|
||||
$data['out_trade_no'] = $code;
|
||||
|
|
Loading…
Reference in New Issue