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

1.增加changelog.md

2.修复后台学习记录客户端枚举值
This commit is contained in:
xiaochong0302 2020-09-30 17:31:34 +08:00
parent 0a1c64d2b6
commit 88684c4d71
4 changed files with 55 additions and 4 deletions

39
CHANGELOG.md Normal file
View File

@ -0,0 +1,39 @@
### [v1.0.0-beta1](https://gitee.com/koogua/course-tencent-cloud/releases/v1.0.0-beta1)(2020-09-26)
前台功能:
- 注册、登录、忘记密码
- 首页:轮播、新上课程、免费课程、会员课程
- 课程列表:多维度筛选,多维度排序
- 课程详情:章节,咨询,评价,相关课程,推荐课程,课程套餐
- 课时详情:点播,直播,图文
- 购买支付:课程,套餐,赞赏,会员
- 教师列表
- 群组列表
- 即时通讯
- 在线客服
- 全文检索:课程、群组、用户
- 个人主页:我的课程,我的收藏,我的好友,我的群组
- 会员中心:我的课程,我的收藏,我的咨询,我的评价,我的好友,我的群组,我的订单,我的退款,个人信息,账户安全
- 教学中心 :我的课程,我的直播,我的咨询
后台功能:
- 课程管理:课程列表,课程搜索,添加课程,编辑课程,删除课程,课程分类
- 套餐管理:套餐列表,添加套餐,编辑套餐,删除套餐
- 话题管理:话题列表,添加话题,编辑话题,删除话题
- 单页管理:单页列表,添加单页,编辑单页,删除单页
- 帮助管理:帮助列表,添加帮助,编辑帮助,删除帮助,帮助分类
- 学员管理:学员列表,搜索学员,添加学员,编辑学员,学习记录
- 咨询管理:咨询列表,搜索咨询,编辑咨询,删除咨询
- 评价管理:评价列表,搜索评价,编辑评价,删除评价
- 群组管理:群组列表,搜索群组,编辑群组,删除群组
- 轮播管理:轮播列表,编辑轮播,删除轮播
- 导航管理:导航列表,编辑导航,删除导航
- 订单管理:订单列表,搜索订单,订单详情
- 交易管理:交易列表,搜索交易,交易详情
- 退款管理:退款列表,搜索退款,退款详情,退款审核
- 用户管理:用户列表,编辑用户,添加用户
- 角色管理:角色列表,编辑角色,删除角色
- 操作记录:记录列表,搜索记录,记录详情
- 系统配置:网站,密钥,存储,点播,直播,短信,邮件,验证码,支付,会员,微聊

View File

@ -2,6 +2,18 @@
{% block content %} {% block content %}
{%- macro client_type_info(value) %}
{% if value == 1 %}
desktop
{% elseif value == 2 %}
mobile
{% elseif value == 3 %}
app
{% elseif value == 4 %}
小程序
{% endif %}
{%- endmacro %}
<table class="layui-table kg-table"> <table class="layui-table kg-table">
<colgroup> <colgroup>
<col> <col>
@ -26,7 +38,7 @@
<p class="layui-elip">章节:{{ item.chapter.title }}</p> <p class="layui-elip">章节:{{ item.chapter.title }}</p>
</td> </td>
<td> <td>
<p>类型:{{ item.client_type }}</p> <p>类型:{{ client_type_info(item.client_type) }}</p>
<p>地址:<a href="javascript:" class="kg-ip2region" title="查看位置" data-ip="{{ item.client_ip }}">{{ item.client_ip }}</a></p> <p>地址:<a href="javascript:" class="kg-ip2region" title="查看位置" data-ip="{{ item.client_ip }}">{{ item.client_ip }}</a></p>
</td> </td>
<td>{{ item.duration|duration }}</td> <td>{{ item.duration|duration }}</td>

View File

@ -8,7 +8,7 @@ class Client
/** /**
* 类型 * 类型
*/ */
const TYPE_DESKTOP = 1; // home const TYPE_DESKTOP = 1; // desktop
const TYPE_MOBILE = 2; // mobile const TYPE_MOBILE = 2; // mobile
const TYPE_APP = 3; // app const TYPE_APP = 3; // app
const TYPE_MINI = 4; // 小程序 const TYPE_MINI = 4; // 小程序
@ -16,7 +16,7 @@ class Client
public static function types() public static function types()
{ {
return [ return [
self::TYPE_DESKTOP => 'home', self::TYPE_DESKTOP => 'desktop',
self::TYPE_MOBILE => 'mobile', self::TYPE_MOBILE => 'mobile',
self::TYPE_APP => 'app', self::TYPE_APP => 'app',
self::TYPE_MINI => 'mini', self::TYPE_MINI => 'mini',

View File

@ -116,7 +116,7 @@
#main { #main {
margin-top: 80px; margin-top: 80px;
margin-bottom: 30px; margin-bottom: 30px;
min-height: 560px; min-height: 760px;
} }
#footer { #footer {