notify(); } else { return 'success'; } } /** * 汇聚支付通知 * @param string $scene 支付场景 * @return string * @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DbException * @throws \think\db\exception\ModelNotFoundException */ public function joinpay(string $scene = 'order'): string { if (strtolower($scene) === 'order') { return JoinPaymentService::instance()->notify(); } else { return 'success'; } } }