新增自动完成订单,处理处方数据,修改获取问诊评价返回内容

This commit is contained in:
2023-04-08 16:02:18 +08:00
parent 67429ae31b
commit 3008c1f9bc
8 changed files with 118 additions and 21 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ function dump(...$vars)
* @param string $message 返回提示信息
* @return array
*/
function success(array|string $data = [], int $code = HttpEnumCode::HTTP_SUCCESS, string $message = ""): array
function success(array|string|null $data = [], int $code = HttpEnumCode::HTTP_SUCCESS, string $message = ""): array
{
if (empty($message)) {
$message = HttpEnumCode::getMessage($code);