修改结束问诊订单
This commit is contained in:
@@ -4,7 +4,9 @@ namespace App\Controller;
|
||||
|
||||
use App\Request\InquiryRequest;
|
||||
use App\Services\InquiryService;
|
||||
use App\Services\UserDoctorService;
|
||||
use Extend\Wechat\WechatPay;
|
||||
use GuzzleHttp\Exception\GuzzleException;
|
||||
use Hyperf\Snowflake\IdGeneratorInterface;
|
||||
use Psr\Container\ContainerExceptionInterface;
|
||||
use Psr\Container\NotFoundExceptionInterface;
|
||||
@@ -117,4 +119,16 @@ class InquiryController extends AbstractController
|
||||
$data = $InquiryService->getDoctorFinishMessageList();
|
||||
return $this->response->json($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 结束问诊
|
||||
* @return ResponseInterface
|
||||
* @throws GuzzleException
|
||||
*/
|
||||
public function putFinishInquiry(): ResponseInterface
|
||||
{
|
||||
$InquiryService = new InquiryService();
|
||||
$data = $InquiryService->putFinishInquiry();
|
||||
return $this->response->json($data);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user