|
@@ -4,6 +4,7 @@ declare (strict_types=1);
|
|
namespace app\zskk\controller;
|
|
namespace app\zskk\controller;
|
|
|
|
|
|
use app\common\controller\ApiController;
|
|
use app\common\controller\ApiController;
|
|
|
|
+use app\common\library\Gm;
|
|
use app\zskk\servies\EmpowerServies;
|
|
use app\zskk\servies\EmpowerServies;
|
|
use app\zskk\servies\HrServies;
|
|
use app\zskk\servies\HrServies;
|
|
use app\zskk\servies\PatientServies;
|
|
use app\zskk\servies\PatientServies;
|
|
@@ -216,7 +217,7 @@ class Api extends ApiController
|
|
public function getRecogData(HrServies $servies,PatientServies $patientServies): void
|
|
public function getRecogData(HrServies $servies,PatientServies $patientServies): void
|
|
{
|
|
{
|
|
$params = $this->request->post();
|
|
$params = $this->request->post();
|
|
- $params = $this->getDecryptData($params['data']);
|
|
|
|
|
|
+// $params = $this->getDecryptData($params['data']);
|
|
if(empty($params))
|
|
if(empty($params))
|
|
{
|
|
{
|
|
$this->error('密文解析失败');
|
|
$this->error('密文解析失败');
|
|
@@ -268,6 +269,6 @@ class Api extends ApiController
|
|
$arr['DOCTORNAME'] = '贝远';
|
|
$arr['DOCTORNAME'] = '贝远';
|
|
$arr['DOCTORCODE'] = '00010005';
|
|
$arr['DOCTORCODE'] = '00010005';
|
|
$return = $servies->getRecogToken($arr);
|
|
$return = $servies->getRecogToken($arr);
|
|
- $this->success('', $return);
|
|
|
|
|
|
+ $this->success('', ['TOKEN'=>$return]);
|
|
}
|
|
}
|
|
}
|
|
}
|