Commit 74b7d48f38306421fe274dd64c460aa781336ec8

Authored by 张志伟
1 parent 0fbacf3b

:tada: 调整配置文件

fw-hestia-rpc/src/main/java/cn/fw/hestia/rpc/passport/PassportService.java deleted
1   -package cn.fw.hestia.rpc.passport;
2   -
3   -import cn.fw.common.exception.BusinessException;
4   -import cn.fw.data.base.domain.common.Message;
5   -import cn.fw.passport.sdk.api.MiniQrCodeApi;
6   -import cn.fw.passport.sdk.api.param.WxBCodeParam;
7   -import lombok.extern.slf4j.Slf4j;
8   -import org.springframework.beans.factory.annotation.Autowired;
9   -import org.springframework.stereotype.Service;
10   -
11   -/**
12   - * 会员外部服务
13   - * @author kurisu
14   - */
15   -@Slf4j
16   -@Service
17   -public class PassportService {
18   -
19   - @Autowired
20   - private MiniQrCodeApi miniQrCodeApi;
21   -
22   - /**
23   - * 获取小程序二维码
24   - *
25   - * @param param
26   - * @return
27   - */
28   - public byte[] getWxBCode(WxBCodeParam param){
29   - try {
30   - Message<byte[]> message = miniQrCodeApi.getWxBCode(param);
31   - if (!message.isSuccess()) {
32   - log.error("调用passport api 生成小程序码业务异常:{}", message.getResult());
33   - throw new BusinessException(message.getCode(), message.getResult());
34   - }
35   - return message.getData();
36   - }catch (Exception e){
37   - log.error("会员系统调用失败",e);
38   - throw new BusinessException("调用会员系统异常");
39   - }
40   - }
41   -
42   -
43   -}
fw-hestia-rpc/src/main/java/cn/fw/hestia/rpc/passport/TemplateMessageService.java
... ... @@ -36,7 +36,7 @@ public class TemplateMessageService {
36 36 * @param messageParam
37 37 */
38 38 public String sendTemplateMessage(TMParam messageParam) {
39   - log.info("开始发送通知,入参:{}", messageParam);
  39 + log.info("开始发送通知,SceneToken :{}", messageParam.getSceneToken());
40 40 try {
41 41 WxMpTempMessageParam param = new WxMpTempMessageParam();
42 42 param.setCusId(messageParam.getMemberId());
... ...