|
@@ -288,12 +288,6 @@ public class UserOrderController extends BaseController {
|
|
|
// 用户下单请求
|
|
|
UserPaymentOrderWrapper.UserPaymentOrder order = JSON.parseObject(orderReq.jsonString(), UserPaymentOrderWrapper.UserPaymentOrder.class);
|
|
|
|
|
|
- TenantStaff tenantStaff = tenantStaffService.getByUserId(sysUser.getId());
|
|
|
- if (Objects.isNull(tenantStaff)) {
|
|
|
- throw com.microsvc.toolkit.common.webportal.exception.BizException.from("用户信息不存在");
|
|
|
- }
|
|
|
-
|
|
|
- order.setTenantId(tenantStaff.getTenantId());
|
|
|
// 新增数据
|
|
|
UserPaymentOrderWrapper.PaymentConfig paymentConfig = userPaymentCoreService.executeOrderCreate(order);
|
|
|
if (Objects.isNull(paymentConfig)) {
|