liuxiangxin 2 сар өмнө
parent
commit
3748e73e41

+ 3 - 3
app/Http/Controllers/Api/WechatWork.php

@@ -89,11 +89,11 @@ class WechatWork extends Api{
 		// 如果添加失败
 		if( !$id )					return ['error'=>'新用户添加失败'];
 		// 跳转链接pages/user/bind
-		$link						= Mini::getUrlLink('pages/user/bind',http_build_query(['id'=>1,'kailin_uid'=>Hashids::encodeHex($id),'work_userid'=>$message['UserID']]));
+		// $link						= Mini::getUrlLink('pages/user/bind',http_build_query(['id'=>1,'kailin_uid'=>Hashids::encodeHex($id),'work_userid'=>$message['UserID']]));
 		// 欢迎语
-		$welcome					= $link ? ['link'=>['title'=>'请点此返回小程序领取玩具','desc'=>'家长好,我是您的专属客服,有问题请联系我','url'=>$link]] : ['text'=>['content'=>'请联系您的对接人员为您录入信息']];
+		// $welcome					= $link ? ['link'=>['title'=>'请点此返回小程序领取玩具','desc'=>'家长好,我是您的专属客服,有问题请联系我','url'=>$link]] : ['text'=>['content'=>'请联系您的对接人员为您录入信息']];
 		// 发送欢迎语
-		ExternalContact::sendWelcome($message['WelcomeCode'],$welcome);
+		// ExternalContact::sendWelcome($message['WelcomeCode'],$welcome);
 		// 循环跟进人员
 		foreach ($extUser['follow_user'] as $workUser)		{
 			// 如果是当前的跟进人员