新增腾讯im。

This commit is contained in:
2023-03-09 16:01:03 +08:00
parent e1a015e960
commit 0850d6e3f3
19 changed files with 1265 additions and 46 deletions
+18
View File
@@ -9,12 +9,18 @@ use App\Request\UserDoctorRequest;
use App\Services\DoctorAuthService;
use App\Services\DoctorInquiryService;
use App\Services\UserDoctorService;
use Extend\TencentIm\Account;
use Hyperf\Amqp\Producer;
use Hyperf\DbConnection\Db;
use Hyperf\Utils\ApplicationContext;
use Psr\Container\ContainerExceptionInterface;
use Psr\Container\NotFoundExceptionInterface;
use Psr\Http\Message\ResponseInterface;
use Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface;
use Symfony\Contracts\HttpClient\Exception\DecodingExceptionInterface;
use Symfony\Contracts\HttpClient\Exception\RedirectionExceptionInterface;
use Symfony\Contracts\HttpClient\Exception\ServerExceptionInterface;
use Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface;
class UserDoctorController extends AbstractController
{
@@ -280,6 +286,13 @@ class UserDoctorController extends AbstractController
/**
* 获取医生名片
* @return ResponseInterface
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
* @throws ClientExceptionInterface
* @throws DecodingExceptionInterface
* @throws RedirectionExceptionInterface
* @throws ServerExceptionInterface
* @throws TransportExceptionInterface
*/
public function getDoctorInfoCard(): ResponseInterface
{
@@ -287,4 +300,9 @@ class UserDoctorController extends AbstractController
$data = $UserDoctorService->getDoctorInfoCard();
return $this->response->json($data);
}
// 获取医生问诊消息列表
public function getDoctorMessageList(){
}
}