From 424f3d3c93c91ec78db50e143f5820282e0e4700 Mon Sep 17 00:00:00 2001 From: liaofei <136327134@qq.com> Date: Wed, 26 Apr 2023 15:56:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AF=BC=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crmeb/crmeb/command/Util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crmeb/crmeb/command/Util.php b/crmeb/crmeb/command/Util.php index c6d0ee78f..e32ec9a44 100644 --- a/crmeb/crmeb/command/Util.php +++ b/crmeb/crmeb/command/Util.php @@ -196,7 +196,7 @@ class Util extends Command foreach ($options as $option) { $request[] = [ 'attribute' => $option['name'], - 'type' => $option['type'], + 'type' => $option['type'] === 'text' ? 'string' : $option['type'], 'must' => 0, 'trip' => $option['description'], 'id' => $option['id'],