shichen месяцев назад: 3
Родитель
Сommit
e09dab5e2c
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/common/dao/system/merchant/MerchantContributionDao.php

+ 1 - 1
app/common/dao/system/merchant/MerchantContributionDao.php

@@ -41,7 +41,7 @@ class MerchantContributionDao extends BaseDao
41 41
 
42 42
         }
43 43
         // 类型转换
44
-        $data['create_time'] = strtotime($data['create_time']);
44
+        if (!empty($data)) $data['create_time'] = strtotime($data['create_time']);
45 45
         return MerchantContributionEntity::newInstance($data);
46 46
     }
47 47
 }