瀏覽代碼

修改风格

FengR 1 月之前
父節點
當前提交
c8cd5445df
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/JsonRpc/PublicRpcService.php

+ 1 - 1
app/JsonRpc/PublicRpcService.php

@@ -772,7 +772,7 @@ class PublicRpcService implements PublicRpcServiceInterface
         if(is_string($data['keyword'])){
             $keyword = json_decode($data['keyword'],true) ?? $data['keyword'];
         }
-        if(is_array($keyword)){
+        if(is_array($data['keyword'])){
             $keyword = json_encode($data['keyword']);
         }
         $updateData = [