1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-06-30 22:24:55 +08:00

修正plan_id格式问题

This commit is contained in:
xiaochong0302 2023-12-20 21:53:19 +08:00
parent e21ab16993
commit 4cbaeb1590

View File

@ -119,7 +119,7 @@ class CourseUser extends Model
public function beforeCreate()
{
$this->plan_id = (int)date('ymd');
$this->plan_id = (int)date('Ymd');
$this->create_time = time();
}