派生自 projectDept/qhighschool

EricsHu
2022-12-05 068fc7f2e81178e55fa191a13709af64b1a163f6
src/main/java/com/qxueyou/scc/base/model/FilePathConstants.java
@@ -4,37 +4,37 @@
import java.util.Map;
/**
 * app及后台默认图片设置
 * app及后台默认图片设置
 * @author ody.yuan
 *
 */
public class FilePathConstants {
   
   /** 点播视频默认封面    */
   /** 点播视频默认封面    */
   public static final String VIDEO_DEFAULT_IMG = "/web/res/img/app/sys-video-home.png";
   
   /** 直播视频默认封面    */
   /** 直播视频默认封面    */
   public static final String VIDEO_LIVE_DEFAULT_IMG = "/web/res/img/app/sys-video-live.png";
   
   /** 班级默认图标    */
   /** 班级默认图标    */
   public static final String CLASS_DEFAULT_IMG = "/web/res/img/app/course-detail-default-cover.png";
   
   /** 课程表默认图标    */
   /** 课程表默认图标    */
   public static final String SCHEDULE_DEFAULT_IMG = "/web/res/img/app/default-schedule-info.png";
   
   /** 机构默认图标    */
   /** 机构默认图标    */
   public static final String ORG_DEFAULT_IMG = "/web/res/img/app/org-log.png";
   
   /** 班级通知、学校通知默认图标    */
   /** 班级通知、学校通知默认图标    */
   public static final String NOTICE_DEFAULT_IMG = "/web/res/img/app/notice-default.png";
   
   /** 固定默认评估图标    */
   /** 固定默认评估图标    */
   public static final String EVALUATE_DEFAULT_IMG = "/web/res/img/app/evaluate-default.png";
   
   /** 固定默认用户图标    */
   /** 固定默认用户图标    */
   public static final String USER_DEFAULT_IMG = "/web/res/img/user/user-default-square.png";
   
   /** 所有图片    */
   /** 所有图片    */
   public static final Map<Integer, String> USER_DEFAULT_IMG_MAP = new HashMap<Integer, String>();
   static{
      USER_DEFAULT_IMG_MAP.put(0, "/web/res/img/user/user-default-square.png");
@@ -45,7 +45,7 @@
      USER_DEFAULT_IMG_MAP.put(5, "/web/res/img/user/user-default-square5.png");
   }
   
   /** 随机获取头像  **/
   /** 随机获取头像  **/
   public static String getUserDefaultImg(){
      return USER_DEFAULT_IMG_MAP.get((int)(Math.random()*6));
   }