where("order_sn",$data['order'])->findOrEmpty(); if ($order->isEmpty()) return true; if (!in_array($order['status'],[1,6,4])) return true; $resp = (new OrderData)->config([ "appid" => sConf("wechat.mini_appid"), "secret" => sConf("wechat.mini_secret"), ])->token()->auditOrder($order->toArray()); echo getDateFull()."==={$data['order']}===退款审核推送\n"; print_r($resp); return true; } catch (\Throwable $throwable) { echo getDateFull()."==推送退款审核报错===\n"; echo $throwable->getFile()."\n"; echo $throwable->getLine()."\n"; echo $throwable->getMessage()."\n"; } return true; } }