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);
     }