修正无医生数据
This commit is contained in:
@@ -125,7 +125,7 @@ class UserController extends AbstractController
|
||||
$group = new Group();
|
||||
$friend = new Friend();
|
||||
$message = new Message();
|
||||
// $result = $account->createAccount(1234567,'测试患者',"https://img.applets.igandanyiyuan.com/applet/doctor/avatar/03dc8df2-e7c0-4ad9-b87e-5133e40e0f76.jpg");
|
||||
$result = $account->createAccount(10009,'测试患者9',"https://img.applets.igandanyiyuan.com/applet/doctor/avatar/03dc8df2-e7c0-4ad9-b87e-5133e40e0f76.jpg");
|
||||
|
||||
// 查询账号导入状态
|
||||
// $result = $account->checkAccountStatus("123456");
|
||||
@@ -148,21 +148,23 @@ class UserController extends AbstractController
|
||||
// $result = $friend->addFriend("123456",'1234567',"快速问诊");
|
||||
|
||||
// 发送消息
|
||||
$arg = array();
|
||||
$arg['From_Account'] = "1234567"; // 发送方user_id 如系统发送,无需填写
|
||||
$arg['To_Account'] = "123456"; // 接收方user_id
|
||||
$arg['ForbidCallbackControl'] = ['ForbidBeforeSendMsgCallback'];
|
||||
// $arg = array();
|
||||
// $arg['From_Account'] = "1234567"; // 发送方user_id 如系统发送,无需填写
|
||||
// $arg['To_Account'] = "123456"; // 接收方user_id
|
||||
// $arg['ForbidCallbackControl'] = ['ForbidBeforeSendMsgCallback'];
|
||||
//
|
||||
// $arg['MsgBody'] = [
|
||||
// [
|
||||
// "MsgType" => "TIMTextElem",
|
||||
// "MsgContent" => [
|
||||
// "Text" => "测试消息1",
|
||||
// ],
|
||||
// ]
|
||||
// ];
|
||||
//
|
||||
// $result = $message->sendMessage($arg);
|
||||
|
||||
$arg['MsgBody'] = [
|
||||
[
|
||||
"MsgType" => "TIMTextElem",
|
||||
"MsgContent" => [
|
||||
"Text" => "测试消息1",
|
||||
],
|
||||
]
|
||||
];
|
||||
|
||||
$result = $message->sendMessage($arg);
|
||||
$result = $profile->getOneAccountPortraitList("123456");
|
||||
dump($result);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user