柳建 9 months ago
parent
commit
9b30460f56
3 changed files with 1 additions and 16 deletions
  1. 0 11
      .env.sample
  2. 1 3
      .gitignore
  3. 0 2
      application/api/controller/Index.php

+ 0 - 11
.env.sample

@@ -1,11 +0,0 @@
-[app]
-debug = false
-trace = false
-
-[database]
-hostname = 127.0.0.1
-database = fastadmin
-username = root
-password = root
-hostport = 3306
-prefix = fa_

+ 1 - 3
.gitignore

@@ -3,9 +3,7 @@
 /vendor/
 /vendor/
 /runtime/*
 /runtime/*
 /addons/*
 /addons/*
-/public/assets/libs/
-/public/assets/addons/*
-/public/uploads/*
+
 .idea
 .idea
 composer.lock
 composer.lock
 *.log
 *.log

+ 0 - 2
application/api/controller/Index.php

@@ -92,8 +92,6 @@ class Index extends Api
 
 
     public function oldrecord()
     public function oldrecord()
     {
     {
-
-
         $beginYesterday=mktime(0,0,0,date('m'),date('d')-1,date('Y'));
         $beginYesterday=mktime(0,0,0,date('m'),date('d')-1,date('Y'));
         $userlink = db('userlink')->select();
         $userlink = db('userlink')->select();
         $uplink=[];
         $uplink=[];