From d5cd5518fb4c9ec771dbf3d8db691fef36d18a45 Mon Sep 17 00:00:00 2001
From: mitao <2763622819@qq.com>
Date: 星期五, 31 五月 2024 17:47:38 +0800
Subject: [PATCH] 提交【管理后台】-拍卖场管理相关接口

---
 ruoyi-modules/ruoyi-auction/src/main/java/com/ruoyi/auction/service/impl/AuctionSalesroomServiceImpl.java |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/ruoyi-modules/ruoyi-auction/src/main/java/com/ruoyi/auction/service/impl/AuctionSalesroomServiceImpl.java b/ruoyi-modules/ruoyi-auction/src/main/java/com/ruoyi/auction/service/impl/AuctionSalesroomServiceImpl.java
index 527a996..5df7320 100644
--- a/ruoyi-modules/ruoyi-auction/src/main/java/com/ruoyi/auction/service/impl/AuctionSalesroomServiceImpl.java
+++ b/ruoyi-modules/ruoyi-auction/src/main/java/com/ruoyi/auction/service/impl/AuctionSalesroomServiceImpl.java
@@ -1,6 +1,5 @@
 package com.ruoyi.auction.service.impl;
 
-import cn.binarywang.wx.miniapp.api.WxMaService;
 import cn.binarywang.wx.miniapp.bean.WxMaJscode2SessionResult;
 import com.alibaba.fastjson.JSONObject;
 import com.alipay.api.AlipayApiException;
@@ -32,7 +31,12 @@
 import com.ruoyi.auction.domain.AuctionVideo;
 import com.ruoyi.auction.mapper.AuctionSalesroomGoodsMapper;
 import com.ruoyi.auction.mapper.AuctionSalesroomMapper;
-import com.ruoyi.auction.service.*;
+import com.ruoyi.auction.service.IAuctionBidRecordService;
+import com.ruoyi.auction.service.IAuctionBrowseRecordService;
+import com.ruoyi.auction.service.IAuctionGoodsService;
+import com.ruoyi.auction.service.IAuctionSalesroomGoodsService;
+import com.ruoyi.auction.service.IAuctionSalesroomService;
+import com.ruoyi.auction.service.IAuctionVideoService;
 import com.ruoyi.auction.util.CreateQrCode;
 import com.ruoyi.auction.util.HttpUtils;
 import com.ruoyi.common.core.constant.SecurityConstants;
@@ -105,8 +109,8 @@
     @Resource
     private SysUserClient sysUserClient;
 
-    @Resource
-    private WxMaService wxMaService;
+    // @Resource
+    // private WxMaService wxMaService;
 
     @Resource
     private AuctionSalesroomGoodsMapper auctionSalesroomGoodsMapper;
@@ -260,7 +264,7 @@
             String openid;
             String sessionKey = null;
             //获取session
-            session = wxMaService.getUserService().getSessionInfo(appMiniLoginDto.getCode());
+            // session = wxMaService.getUserService().getSessionInfo(appMiniLoginDto.getCode());
             if (session != null && StringUtils.isNotBlank(session.getOpenid())) {
                 unionid = session.getUnionid();
                 openid = session.getOpenid();

--
Gitblit v1.7.1