| | |
| | | this.baseMapper.updateById(mallMember); |
| | | } |
| | | |
| | | @Override |
| | | public FebsResponse agentDetail() { |
| | | DataDictionaryCustom dataDictionaryCustom = dataDictionaryCustomMapper.selectDicDataByTypeAndCode( |
| | | DataDictionaryEnum.AGENT_DETAILS.getType(), DataDictionaryEnum.AGENT_DETAILS.getCode()); |
| | | Map<String, Object> map = new HashMap<>(); |
| | | if(ObjectUtil.isNotEmpty(dataDictionaryCustom)){ |
| | | map.put("agentDetail", dataDictionaryCustom.getValue()); |
| | | } |
| | | return new FebsResponse().success().data(map); |
| | | } |
| | | |
| | | private String getXcxLoginUrl(String code) { |
| | | String wechatLoginUrl =xcxProperties.getWecharLoginUrl(); |
| | | return String.format(wechatLoginUrl, xcxProperties.getXcxAppid(), xcxProperties.getXcxSecret(), code); |