liaofei пре 2 година
родитељ
комит
424f3d3c93
1 измењених фајлова са 1 додато и 1 уклоњено
  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'],