queryCustInfoDetailForApp
This commit is contained in:
parent
b13833bbee
commit
ea0141db6d
|
|
@ -3,6 +3,7 @@ package com.bonus.canteen.core.customer.controller;
|
|||
import com.bonus.canteen.core.common.base.BaseController;
|
||||
import com.bonus.canteen.core.customer.dto.*;
|
||||
import com.bonus.canteen.core.customer.vo.PageCustInfoPhotoVO;
|
||||
import com.bonus.common.core.utils.StringUtils;
|
||||
import com.bonus.common.core.web.domain.AjaxResult;
|
||||
import com.bonus.common.core.web.page.TableDataInfo;
|
||||
import com.bonus.common.houqin.constant.SourceTypeEnum;
|
||||
|
|
@ -88,7 +89,9 @@ public class CustInfoController extends BaseController {
|
|||
Integer sourceType = this.getSourceTypeByHeaders(headers);
|
||||
sourceType = Objects.isNull(sourceType) ? SourceTypeEnum.HT_H5_MOBILE.getKey() : sourceType;
|
||||
AjaxResult ar = new AjaxResult();
|
||||
custInfo.setMobile(sm4Encrypt(custInfo.getMobile()));
|
||||
if (StringUtils.isNotEmpty(custInfo.getMobile())) {
|
||||
custInfo.setMobile(sm4Encrypt(custInfo.getMobile()));
|
||||
}
|
||||
CustInfoVo result = this.custInfoService.queryCustInfoDetail(custInfo, sourceType);
|
||||
//System.out.println(sm4Decrypt("29G1AUHDmLvPe1tt0t12Dw==##encrypted"));
|
||||
result.setMobile(sm4Decrypt(result.getMobile()));
|
||||
|
|
|
|||
Loading…
Reference in New Issue