crm
This commit is contained in:
parent
8bfe063669
commit
4e584201c5
@ -22,6 +22,7 @@ use App\Models\PaasAccount;
|
||||
use App\Models\Live\Asset;
|
||||
use App\Http\Response\ResponseJson;
|
||||
use App\Models\Live\AssetLog;
|
||||
use App\Utils\Http;
|
||||
use Log;
|
||||
use PhpParser\Node\Expr\Cast\Bool_;
|
||||
class OrderService implements OrderContract
|
||||
@ -689,6 +690,16 @@ class OrderService implements OrderContract
|
||||
]);
|
||||
Log::info("创建客户成功");
|
||||
|
||||
// 发送uftx APP系统消息
|
||||
$url = "https://health.ufutx.com/go/api/app/server/system/msg/send";
|
||||
$arr = [
|
||||
"user_id" => $serviceUser->user_id,
|
||||
"token" => "uftx_system_msg",
|
||||
"content" => "您邀请的用户【" . $merchant_user->nickname . "】已报名参加活动【" . $order->desc . "】",
|
||||
"page_url" => ""
|
||||
];
|
||||
Http::post($url, json_encode($arr));
|
||||
|
||||
// 发送uftx系统通知
|
||||
return true;
|
||||
} catch (\Throwable $th) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user