1
This commit is contained in:
@@ -25,4 +25,17 @@ class SafeController extends AbstractController
|
||||
$data = $SafeService->getOssSign();
|
||||
return $this->response->json($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取im签名数据
|
||||
* @return ResponseInterface
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
public function getImSign(): ResponseInterface
|
||||
{
|
||||
$SafeService = new SafeService();
|
||||
$data = $SafeService->getImSign();
|
||||
return $this->response->json($data);
|
||||
}
|
||||
}
|
||||
@@ -239,5 +239,20 @@ class UserController extends AbstractController
|
||||
// $Prescription = new Prescription();
|
||||
// $token = $Prescription->getProd();
|
||||
// dump($token);
|
||||
|
||||
// 创建im账号
|
||||
// $account = new Account();
|
||||
// 创建单个账号
|
||||
// $account->createAccount("111295","测试患者1","");
|
||||
// $profile = new Profile();
|
||||
// $result = $profile->getOneAccountPortraitList("111295");
|
||||
// dump($result);
|
||||
// $arg = array();
|
||||
// $arg['Tag_Profile_IM_Image'] = "https://img.applets.igandanyiyuan.com/applet/doctor/avatar/03dc8df2-e7c0-4ad9-b87e-5133e40e0f76.jpg";
|
||||
// $profile->setProfile("111295",$arg);
|
||||
|
||||
// $ImService = new ImService();
|
||||
// $ImService->setUserProfile("491925054435950592");
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user