1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <?php
- declare (strict_types=1);
- namespace app\admin\controller;
- use app\common\library\Gm;
- use app\common\library\Handle;
- use app\zskk\model\Mapping;
- use think\Config;
- use think\db\exception\DataNotFoundException;
- use think\db\exception\DbException;
- use think\db\exception\ModelNotFoundException;
- use think\facade\Db;
- use think\Exception;
- use Throwable;
- use app\common\controller\ZskkApi;
- use app\zskk\servies\PatientServies;
- class Patients extends ZskkApi
- {
- protected array $noNeedDecrypt = ['addPatient','getPatientInfo'];
- protected array $noNeedDecode = ['addPatient','getPatientInfo'];
- protected array $noNeedBlur = ['addPatient','getPatientInfo'];
- protected array $noNeedEncode = ['addPatient','getPatientInfo'];
- protected array $noNeedEncrypt = ['addPatient','getPatientInfo'];
- /**
- * @throws ModelNotFoundException
- * @throws DataNotFoundException
- * @throws DbException
- */
- public function getPatientInfo(PatientServies $servies): void
- {
- $params = $this->request->post();
- $patientCode = $params['PATIENT_CODE'];
- $data = $servies->getPatient(['PATIENT_CODE'=>$patientCode]);
- $this->success('',$data);
- }
- }
|