1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-06-24 04:01:31 +08:00

修正plan_id格式问题

This commit is contained in:
xiaochong0302 2023-12-20 21:53:19 +08:00
parent 6c33dbc724
commit db82de6f35

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();
} }