mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新]修改微信支持模块
This commit is contained in:
parent
67f70ae39a
commit
4dff8fcdca
@ -125,7 +125,6 @@ class PayService {
|
||||
$prepayinfo = Db::name('WechatPayPrepayid')->where($where, $map)->find();
|
||||
if (empty($prepayinfo) || empty($prepayinfo['prepayid'])) {
|
||||
$out_trade_no = DataService::createSequence(18, 'WXPAY-OUTER-NO');
|
||||
p(url("@wechat/notify", '', true, true));
|
||||
$prepayid = $pay->getPrepayId($openid, $title, $out_trade_no, $fee, url("@wechat/notify", '', true, true), $trade_type);
|
||||
if (empty($prepayid)) {
|
||||
Log::error("内部订单号{$order_no}生成预支付失败,{$pay->errMsg}");
|
||||
|
Loading…
x
Reference in New Issue
Block a user