add openid
This commit is contained in:
parent
f6282bfeab
commit
e4aa18b85d
|
|
@ -142,8 +142,6 @@ public class CustInfo {
|
||||||
private String extendStr2;
|
private String extendStr2;
|
||||||
@ApiModelProperty("婚姻状态 0-保密 1-未婚 2-已婚")
|
@ApiModelProperty("婚姻状态 0-保密 1-未婚 2-已婚")
|
||||||
private Integer maritalStatus;
|
private Integer maritalStatus;
|
||||||
@ApiModelProperty("来源类型,参考SourceTypeEnum")
|
|
||||||
private Integer sourceType;
|
|
||||||
|
|
||||||
|
|
||||||
// public CustInfo setCustPhotoUrl(String custPhotoUrl) {
|
// public CustInfo setCustPhotoUrl(String custPhotoUrl) {
|
||||||
|
|
@ -416,14 +414,6 @@ public class CustInfo {
|
||||||
return this.maritalStatus;
|
return this.maritalStatus;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Integer getSourceType() {
|
|
||||||
return sourceType;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setSourceType(Integer sourceType) {
|
|
||||||
this.sourceType = sourceType;
|
|
||||||
}
|
|
||||||
|
|
||||||
public CustInfo setId(final Long id) {
|
public CustInfo setId(final Long id) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
return this;
|
return this;
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,7 @@ import com.bonus.common.redis.service.RedisService;
|
||||||
import com.bonus.constant.LeCodeUseSceneEnum;
|
import com.bonus.constant.LeCodeUseSceneEnum;
|
||||||
import com.bonus.constant.LeConstants;
|
import com.bonus.constant.LeConstants;
|
||||||
import com.bonus.constant.RetCodeEnum;
|
import com.bonus.constant.RetCodeEnum;
|
||||||
|
import com.bonus.constant.SourceTypeEnum;
|
||||||
import com.bonus.core.account.v3.api.vo.AccInfoServiceV3Api;
|
import com.bonus.core.account.v3.api.vo.AccInfoServiceV3Api;
|
||||||
import com.bonus.core.account.v3.po.AccInfoUpdatePO;
|
import com.bonus.core.account.v3.po.AccInfoUpdatePO;
|
||||||
import com.bonus.core.common.constant.LeMqConstant;
|
import com.bonus.core.common.constant.LeMqConstant;
|
||||||
|
|
@ -168,10 +169,9 @@ public class CustInfoServiceImpl extends ServiceImpl<CustInfoMapper, CustInfo> i
|
||||||
}
|
}
|
||||||
|
|
||||||
protected CustInfoVo getNormalCustInfoDetail(CustInfo custInfo) {
|
protected CustInfoVo getNormalCustInfoDetail(CustInfo custInfo) {
|
||||||
Integer sourceType = custInfo.getSourceType();
|
|
||||||
custInfo.setCustState(PersonalStatusEnum.NORMAL.getKey());
|
custInfo.setCustState(PersonalStatusEnum.NORMAL.getKey());
|
||||||
CustInfoVo custInfoVo = custInfoMapper.queryCustInfoDetail(custInfo);
|
CustInfoVo custInfoVo = custInfoMapper.queryCustInfoDetail(custInfo);
|
||||||
return addOrUpdateCustCasual(custInfoVo, sourceType);
|
return addOrUpdateCustCasual(custInfoVo, SourceTypeEnum.HT_H5_MOBILE.getKey());
|
||||||
}
|
}
|
||||||
|
|
||||||
public CustInfoVo addOrUpdateCustCasual(CustInfoVo custInfoVo, Integer sourceType) {
|
public CustInfoVo addOrUpdateCustCasual(CustInfoVo custInfoVo, Integer sourceType) {
|
||||||
|
|
|
||||||
Reference in New Issue