记得上下班打卡 | git大法好,push需谨慎

Commit 767a6804 authored by GaoHu's avatar GaoHu

Merge remote-tracking branch 'origin/dev_nft_411' into dev_nft_411

parents e4332d40 8de8cdfa
...@@ -89,8 +89,8 @@ public class GalaxyEnum { ...@@ -89,8 +89,8 @@ public class GalaxyEnum {
* 注册类型 * 注册类型
*/ */
public enum RegisterTypeEnum{ public enum RegisterTypeEnum{
PERSON("1","企业"), COMPANY("1","企业"),
COMPANY("2","个人"); PERSON("2","个人");
private String code; private String code;
......
...@@ -34,7 +34,7 @@ public abstract class AbstractDataUtils { ...@@ -34,7 +34,7 @@ public abstract class AbstractDataUtils {
private long keyExpireTime = 3600*24*30; private long keyExpireTime = 3600*24*30;
public void setGalaxyUserInfo(String routerType,String userId, GalaxyUserInfoBo userInfoBo) { public void setGalaxyUserInfo(String routerType,String userId, GalaxyUserInfoBo userInfoBo) {
String userType = GalaxyEnum.RegisterTypeEnum.COMPANY.getCode(); String userType = GalaxyEnum.RegisterTypeEnum.PERSON.getCode();
this.getRedisUtil().set(GalaxyConstant.REDIS_KEY_GALAXY_USER.concat(routerType).concat(":") + userId,userInfoBo,keyExpireTime); this.getRedisUtil().set(GalaxyConstant.REDIS_KEY_GALAXY_USER.concat(routerType).concat(":") + userId,userInfoBo,keyExpireTime);
//入库mongo //入库mongo
GalaxyUserInfoVo userInfoVo = GalaxyUserInfoVo.getNew(); GalaxyUserInfoVo userInfoVo = GalaxyUserInfoVo.getNew();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment