@Component public class AcademyRegisterUtil extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static AcademyRegisterUtil |
academyRegisterUtil |
| 构造器和说明 |
|---|
AcademyRegisterUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
convertOldUserWhenRegister(Long userId,
String openid,
String os,
String pwd,
String code,
Long recommendByWhom) |
static Long |
createNewUser(String accountType,
String account,
String pwd,
String img,
String openid,
Long recommendByWhom) |
static Long |
createUserMemberRelation(Long idRecommendByWhom,
Long uid,
Integer giftMemberDays) |
static void |
createUserMemberRelationByDays(Long uid,
Long startAt,
Long endAt,
Integer days,
Long now) |
static String |
dateTime() |
static String |
getDate(Long time) |
static Long |
getNewestStartAt(Long uid) |
void |
init() |
static boolean |
pushToUser(javax.servlet.http.HttpServletResponse response,
String platForm,
String deviceToken,
String alias) |
public static AcademyRegisterUtil academyRegisterUtil
@PostConstruct public void init()
public static String convertOldUserWhenRegister(Long userId, String openid, String os, String pwd, String code, Long recommendByWhom) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic static Long createNewUser(String accountType, String account, String pwd, String img, String openid, Long recommendByWhom) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic static Long getNewestStartAt(Long uid) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic static Long createUserMemberRelation(Long idRecommendByWhom, Long uid, Integer giftMemberDays) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic static void createUserMemberRelationByDays(Long uid, Long startAt, Long endAt, Integer days, Long now) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic static boolean pushToUser(javax.servlet.http.HttpServletResponse response,
String platForm,
String deviceToken,
String alias)
throws IOException
IOExceptionpublic static String dateTime()
Copyright © 2018. All rights reserved.