diff --git a/application/admin/model/special/OfflineCourse.php b/application/admin/model/special/OfflineCourse.php index 1828be72..aad95e6c 100644 --- a/application/admin/model/special/OfflineCourse.php +++ b/application/admin/model/special/OfflineCourse.php @@ -38,6 +38,23 @@ class OfflineCourse extends ModelBasic return compact('data', 'count'); } + public function getApplyStartTimeAttr($time) + { + return date("Y-m-d", $time); + } + public function getApplyEndTimeAttr($time) + { + return date("Y-m-d", $time); + } + public function getStartTimeAttr($time) + { + return date("Y-m-d", $time); + } + public function getEndTimeAttr($time) + { + return date("Y-m-d", $time); + } + public static function setWhere($where) { $model = new self(); diff --git a/application/admin/view/special/audio_video/add.php b/application/admin/view/special/audio_video/add.php index ec1f1823..cd86e5f8 100755 --- a/application/admin/view/special/audio_video/add.php +++ b/application/admin/view/special/audio_video/add.php @@ -99,6 +99,11 @@