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:
parent
2714a048f8
commit
52aa85b2ae
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user