소스 검색

修改导入

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) {
         foreach ($options as $option) {
             $request[] = [
             $request[] = [
                 'attribute' => $option['name'],
                 'attribute' => $option['name'],
-                'type' => $option['type'],
+                'type' => $option['type'] === 'text' ? 'string' : $option['type'],
                 'must' => 0,
                 'must' => 0,
                 'trip' => $option['description'],
                 'trip' => $option['description'],
                 'id' => $option['id'],
                 'id' => $option['id'],