init
This commit is contained in:
@@ -11,10 +11,8 @@ import com.ruoyi.xq.enums.pay.PayStatusEnum;
|
||||
import com.ruoyi.xq.enums.pay.PlatformTypeEnum;
|
||||
import com.ruoyi.xq.mq.AmqpProducer;
|
||||
import com.ruoyi.xq.mq.handle.dto.CalculateSalesHandleDTO;
|
||||
import com.ruoyi.xq.service.UserExtendService;
|
||||
import com.ruoyi.xq.service.VipOrderService;
|
||||
import com.ruoyi.xq.service.VipPriceService;
|
||||
import com.ruoyi.xq.service.WxTransOrderService;
|
||||
import com.ruoyi.xq.service.*;
|
||||
import com.ruoyi.xq.service.impl.AuthOrderServiceImpl;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Component;
|
||||
@@ -34,6 +32,8 @@ public class PayManager {
|
||||
private VipPriceService vipPriceService;
|
||||
@Autowired
|
||||
private WxTransOrderService wxTransOrderService;
|
||||
@Autowired
|
||||
private AuthOrderService authOrderService;
|
||||
|
||||
public PayOrderInfoDTO getOrderInfo(String orderNo){
|
||||
OrderTypeEnum orderTypeEnum = OrderNoUtil.getType(orderNo);
|
||||
@@ -125,6 +125,9 @@ public class PayManager {
|
||||
}
|
||||
}
|
||||
break;
|
||||
case AUTH_ORDER:
|
||||
ConsumeResp authResp = authOrderService.doSuccess(orderNo, params, appId, payTypeEnum);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ import java.io.File;
|
||||
@Component
|
||||
@Slf4j
|
||||
public class ShareManager {
|
||||
private final static String login = "https://12903012.com";
|
||||
private final static String login = "https://xq.mubai8888.com/login?inviteCode=";
|
||||
|
||||
@Autowired
|
||||
private UserExtendService userExtendService;
|
||||
@@ -32,7 +32,7 @@ public class ShareManager {
|
||||
if(StringUtils.isNotEmpty(userExtend.getQrUrl())){
|
||||
return userExtend.getQrUrl();
|
||||
}
|
||||
String url = login + "from=" + usercode;
|
||||
String url = login + usercode;
|
||||
try {
|
||||
File file = QrUtils.generateQrCode(usercode, url);
|
||||
SysOssVo oss = sysOssService.upload(file);
|
||||
|
||||
Reference in New Issue
Block a user