修正医生处方列表参数错误问题,新增获取处方列表接口
This commit is contained in:
@@ -157,4 +157,20 @@ class PatientOrderController extends AbstractController
|
||||
$data = $PatientOrderService->addPatientProductOrder();
|
||||
return $this->response->json($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取处方订单列表
|
||||
* @return ResponseInterface
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
public function getPatientPrescriptionOrderList(): ResponseInterface
|
||||
{
|
||||
$request = $this->container->get(PatientOrderRequest::class);
|
||||
$request->scene('getPatientPrescriptionOrderList')->validateResolved();
|
||||
|
||||
$PatientOrderService = new PatientOrderService();
|
||||
$data = $PatientOrderService->getPatientPrescriptionOrderList();
|
||||
return $this->response->json($data);
|
||||
}
|
||||
}
|
||||
@@ -20,6 +20,8 @@ use Extend\TencentIm\Group;
|
||||
use Extend\TencentIm\Message;
|
||||
use Extend\TencentIm\MessageParams;
|
||||
use Extend\TencentIm\Profile;
|
||||
use Extend\VerifyDun\BankCard;
|
||||
use Extend\VerifyDun\IdCard;
|
||||
use Extend\Wechat\Wechat;
|
||||
use Extend\Wechat\WechatPay;
|
||||
use Hyperf\Amqp\Producer;
|
||||
@@ -220,7 +222,17 @@ class UserController extends AbstractController
|
||||
// $imService = new ImService();
|
||||
// $imService->addRecentContactRecordCache("491925054779883520", 2, 10004, $data);
|
||||
|
||||
|
||||
// 银行卡三要素认证
|
||||
// $BankCard = new BankCard();
|
||||
//
|
||||
// $params = array();
|
||||
// $params['bankCardNo'] = "6217000010175646317";
|
||||
// $params['name'] = "吴从兴";
|
||||
// $params['idCardNo'] = "372929199610075412";
|
||||
// $res = $BankCard->checkBankCard($params);
|
||||
// if (!empty($res)) {
|
||||
// return fail(HttpEnumCode::HTTP_ERROR, $res);
|
||||
// }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user