初始化项目:添加后端代码、ThinkPHP框架、前端资源
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace app\common\constant\cache;
|
||||
|
||||
/**
|
||||
* 缓存keys
|
||||
*/
|
||||
class Timeout
|
||||
{
|
||||
//\app\common\constant\cache\Timeout::COURSE_RECOMMEND
|
||||
|
||||
const STUDY_LOG_CACHE_SYNC = 180; //学习记录数据缓存有效时间
|
||||
|
||||
const PAGE_COURSE = 180;//自定义页面组件绑定的课程缓存有效时间
|
||||
|
||||
const COURSE_RECOMMEND = 180; // 课程-推荐商品
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user