wesmiler 1 tháng trước cách đây
mục cha
commit
fcd10320dd
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      app/Services/Common/AccountService.php

+ 2 - 2
app/Services/Common/AccountService.php

@@ -338,8 +338,8 @@ class AccountService extends BaseService
         }
 
         $info = $info->toArray();
-        $info['create_time_text'] = date('Y-m-d H:i:s', (int)$info['create_time']);
-        $info['update_time_text'] = date('Y-m-d H:i:s', (int)$info['update_time']);
+        $info['create_time_text'] = datetime($info['create_time']);
+        $info['update_time_text'] = datetime($info['update_time']);
 
         $accountTypes = [
             1 => '商城消费',