فهرست منبع

feat:总后台展示用户看课ip

caoliqin 1 هفته پیش
والد
کامیت
260d9d505c

+ 5 - 0
fs-service/src/main/java/com/fs/course/vo/FsCourseWatchLogListVO.java

@@ -152,4 +152,9 @@ public class FsCourseWatchLogListVO extends BaseEntity
     private String tagIds;
 
     private List<String> tagIdsName;
+
+    /**
+     * 用户上次登录的ip
+     */
+    private String lastIp;
 }

+ 1 - 1
fs-service/src/main/resources/mapper/course/FsCourseWatchLogMapper.xml

@@ -64,7 +64,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
                 l.log_type,SEC_TO_TIME(l.duration) as duration,c.company_name,l.camp_period_time,l.finish_time,
                 cu.nick_name as company_user_name ,l.send_type,l.create_time,l.update_time,l.last_heartbeat_time,
                 qu.qw_user_name,qec.name as external_user_name,c.company_id,u.avatar as fsAvatar,u.nick_name as fsNickName,qec.create_time as qec_create_time,
-                u.is_vip isVip,l.reward_type,cu.dept_id, l.watch_type,qec.tag_ids
+                u.is_vip isVip,l.reward_type,cu.dept_id, l.watch_type,qec.tag_ids,u.last_ip
                  from fs_course_watch_log l
                  left join fs_user_course_video v on v.video_id = l.video_id
                  left join fs_user_course uc on uc.course_id = l.course_id