liaofei %!s(int64=2) %!d(string=hai) anos
pai
achega
424f3d3c93
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      crmeb/crmeb/command/Util.php

+ 1 - 1
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'],