rabin 3 年之前
父節點
當前提交
1581b1ec0a
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      service/option/lib/Import.php

+ 2 - 2
service/option/lib/Import.php

@@ -232,7 +232,7 @@ class Import
                     if ($v['C'] > 0) {
                         $where['clear'] = true;
                         $where['mobile'] = trim($v['A']);
-                        $type_name = $v['D'];
+                        $type_name = trim($v['D']);
                         if ($type_name == '期权') {
                             $type = 1;
                         } else {
@@ -307,7 +307,7 @@ class Import
                 if ($state) {
                     if ($v['C'] > 0) {
                         $where['mobile'] = trim($v['A']);
-                        $type_name = $v['D'];
+                        $type_name = trim($v['D']);
                         if ($type_name == '期权') {
                             $type = 2;
                         } else {