zhangxiaobin преди 1 година
родител
ревизия
d862144de9
променени са 1 файла, в които са добавени 0 реда и са изтрити 2 реда
  1. 0 2
      application/api/controller/Package.php

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

@@ -52,8 +52,6 @@ class Package extends Api
             ->field('p.*,type.title as servicetype_title')
             ->join('servicetype type','p.servicetype_id = type.id','LEFT')
             ->where('p.id',$id)->find();
-        $afterTime = time() + 86400 * $info['days'];
-        $info['days_text'] = !empty($info['days']) ? date('Y年m月d日', $afterTime) : '';
         $info = info_domain_image($info,['images','content_images']);
         $this->success(1,$info);
     }