1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-06-23 20:00:27 +08:00

修正plan_id格式问题

This commit is contained in:
xiaochong0302 2023-12-20 21:53:19 +08:00
parent 2714a048f8
commit 52aa85b2ae

View File

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