This commit is contained in:
2023-04-01 11:05:22 +08:00
parent 24c13d56f2
commit 63e468fb0a
3 changed files with 41 additions and 4 deletions
+20 -3
View File
@@ -31,14 +31,14 @@ class TestController extends AbstractController
{
public function test(){
// $this->test_8();
$this->test_3();
// $this->test_3();
// $this->test_4();
// $this->test_6();
// $this->test_9();
// $this->test_10();
// $this->test_11();
// $this->test_5();
// $this->test_1();
$this->test_1();
// $this->test_11();
}
@@ -62,7 +62,24 @@ class TestController extends AbstractController
// return fail();
// }
// 测试药师
// // 测试药师
// $data = array();
// $data['user_id'] = "534534546";
// $data['card_num'] = "410323199603261240";
// $result = $ca->getCloudCert($data);
//
// $data = array();
// $data['user_id'] = "534534546";
// $data['cert_base64'] = $result['certBase64'];
// $data['cert_chain_p7'] = $result['certP7'];
// $data['cert_serial_number'] = $result['certSerialnumber'];
// $data['ca_pin'] = "534534546";
// $doctor_pharmacist_cert = DoctorPharmacistCert::addDoctorPharmacistCert($data);
// if (empty($doctor_pharmacist_cert)){
// return fail();
// }
// 测试企业
$data = array();
$data['user_id'] = "534534546";
$data['card_num'] = "410323199603261240";