package com.zhujizheng.IHome.util; /** * Created with IntelliJ IDEA. * * @author: neeson * Date: 2018/4/7 * Time: 11:25 * Description: */ public class UserDefaultInfoUtil { public static final String DEFAULT_IMG = "http://oxfr2hr4h.bkt.clouddn.com/000607de11b14ee8b104fa559ef2d5fe.png"; public static String getUsername(String mobile){ return mobile.substring(0,7); } public static String getUserImg(){ return DEFAULT_IMG; } }