更改bug

This commit is contained in:
liuyingfang
2024-02-27 20:40:00 +08:00
parent c4be42c23a
commit 3be14a7a7c
4 changed files with 6 additions and 2 deletions

View File

@@ -3,6 +3,7 @@ package com.chaozhanggui.admin.system.controller;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.chaozhanggui.admin.system.service.MerchantChannelStatusService;
import com.chaozhanggui.common.system.config.RespBody;
import com.chaozhanggui.merchant.entity.ys.YsConfig;
import com.chaozhanggui.merchant.service.MerchantService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;
@@ -187,7 +188,6 @@ public class MerchantChannelStatusController {
public RespBody messageChannel(@PathVariable("userId") Integer userId){
return merchantChannelStatusService.messageChannel(userId);
}
/**
* ip记录
* @param userId

View File

@@ -245,6 +245,9 @@ public class MerchantChannelStatusService {
d0.put("channel",channelD0.get(0).getChannel());
d0.put("valid",account == null? null:account.getChanneltype());
d0.put("thirdStatus",channelD0.get(0).getThirdstatus());
d0.put("wxLiteAppId","");
d0.put("wxPubAppId","");
d0.put("wxPubPath","");
merchantChannelMessage.add(d0);
}

View File

@@ -39,6 +39,7 @@ public class TokenUtil {
return generateToken(claims);
}
/**
* 生成token
* @param claims

View File

@@ -458,7 +458,7 @@ public class YSAuditServiceV3 {
mcs.setApplicationid(extra.getString("sysFlowId"));
mcs.setThirdstatus(TbPlussMerchantChannelStatus.AUDIT_THIRD_STATUS_AUDITING);
mcs.setInterfaceversion(INTERFACE_VERSION);
merchantChannelStatusMapper.updateByPrimaryKey(mcs);
merchantChannelStatusMapper.updateByPrimaryKeySelective(mcs);
}