修正站内消息推送
This commit is contained in:
@@ -582,23 +582,9 @@ class TestController extends AbstractController
|
||||
}
|
||||
|
||||
public function test_11(){
|
||||
$data = array();
|
||||
$data['sub_data']['params']['data'] = [
|
||||
"character_string1"=>"501852690829471745",
|
||||
"name2"=>"测试药师1",
|
||||
"date3"=>"2023-04-04 20:23:25",
|
||||
"thing4"=>"医生未接诊",
|
||||
"thing5"=>"点击详情更换医生问诊"
|
||||
];
|
||||
$MessagePush = new MessagePush("491923510680424449","501856873607544832");
|
||||
$MessagePush->patientNoInquiry();
|
||||
|
||||
$send_data = array();
|
||||
foreach ($data['sub_data']['params']['data'] as $key => $item){
|
||||
$send_data[$key] = [
|
||||
"value" => $item
|
||||
];
|
||||
}
|
||||
|
||||
dump($send_data);
|
||||
die;
|
||||
|
||||
$order_prescription_id = "501751534291394561";
|
||||
|
||||
Reference in New Issue
Block a user