From 97a1345c39e24c67b83437d1f14f0a2096c7b1ab Mon Sep 17 00:00:00 2001 From: Hankin Date: Wed, 15 Apr 2026 16:06:58 +0800 Subject: [PATCH] url --- app/Services/CommonUtilsService.php | 9 +++++++-- app/Services/OrderService.php | 2 ++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/app/Services/CommonUtilsService.php b/app/Services/CommonUtilsService.php index d08bd0e..eb9b087 100644 --- a/app/Services/CommonUtilsService.php +++ b/app/Services/CommonUtilsService.php @@ -1033,7 +1033,10 @@ class CommonUtilsService } else { $actioveLabel = 1; } - $url = env('APP_URL') . '/api/official/live/wechat/FamilyAuth?merchant_id=' . $merchant_id . '&actioveLabel=' . $actioveLabel . '&url=https%3A%2F%2Flove.ufutx.com%2Fpu%2F%23%2FmySignUp'; + $url = env('APP_URL') . "/pu/#/mySignUp"; + $url = urlencode($url); + + $url = env('APP_URL') . '/api/official/live/wechat/FamilyAuth?merchant_id=' . $merchant_id . '&actioveLabel=' . $actioveLabel . '&url=' . $url; if ($type == 'course') { $title = '你购买的课程已解锁'; } elseif ($type == 'activity') {//社群活动 @@ -1043,7 +1046,9 @@ class CommonUtilsService } elseif ($type == 'shop') { $title = '你已成功购买商品'; } elseif ($type == 'evaluate') { - $url = env('APP_URL') . '/api/official/live/wechat/FamilyAuth?merchant_id=' . $merchant_id . '&actioveLabel=' . $actioveLabel . '&url=https%3A%2F%2Flove.ufutx.com%2Fpu%2F%23%2FmyEvaluate'; + $url = env('APP_URL') . "/pu/#/myEvaluate"; + $url = urlencode($url); + $url = env('APP_URL') . '/api/official/live/wechat/FamilyAuth?merchant_id=' . $merchant_id . '&actioveLabel=' . $actioveLabel . '&url=' . $url; $title = '你已成功购买测评'; } else {//咨询服务 $title = '你已成功购买咨询服务'; diff --git a/app/Services/OrderService.php b/app/Services/OrderService.php index 5766bdd..af33753 100644 --- a/app/Services/OrderService.php +++ b/app/Services/OrderService.php @@ -688,6 +688,8 @@ class OrderService implements OrderContract "status" => 2 ]); Log::info("创建客户成功"); + + // 发送uftx系统通知 return true; } catch (\Throwable $th) { $this->getError($th);