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
6c33dbc724
commit
db82de6f35
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user