mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
@@ -15,7 +15,6 @@ import com.jsowell.pile.domain.MemberBasicInfo;
|
||||
import com.jsowell.pile.dto.*;
|
||||
import com.jsowell.pile.service.IMemberBasicInfoService;
|
||||
import com.jsowell.pile.vo.uniapp.PayModeVO;
|
||||
import com.jsowell.service.MemberService;
|
||||
import com.jsowell.service.OrderService;
|
||||
import com.jsowell.wxpay.response.WechatPayNotifyParameter;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
@@ -36,8 +35,6 @@ import java.util.Map;
|
||||
@RestController
|
||||
@RequestMapping("/uniapp/pay")
|
||||
public class PayController extends BaseController {
|
||||
@Autowired
|
||||
private MemberService memberService;
|
||||
|
||||
@Autowired
|
||||
private OrderService orderService;
|
||||
|
||||
@@ -419,4 +419,8 @@ public class TempController extends BaseController {
|
||||
}
|
||||
return new RestApiResponse<>();
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
}
|
||||
|
||||
@@ -756,12 +756,12 @@ public class OrderService {
|
||||
.build()
|
||||
);
|
||||
// 余额支付
|
||||
// result.add(
|
||||
// PayModeVO.builder()
|
||||
// .payModeCode(OrderPayModeEnum.PAYMENT_OF_BALANCE.getValue())
|
||||
// .payModeName(OrderPayModeEnum.PAYMENT_OF_BALANCE.getLabel())
|
||||
// .build()
|
||||
// );
|
||||
result.add(
|
||||
PayModeVO.builder()
|
||||
.payModeCode(OrderPayModeEnum.PAYMENT_OF_BALANCE.getValue())
|
||||
.payModeName(OrderPayModeEnum.PAYMENT_OF_BALANCE.getLabel())
|
||||
.build()
|
||||
);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user