|
@@ -24,6 +24,7 @@ import com.ym.mec.biz.dal.page.SysPaymentConfigQueryInfo;
|
|
|
import com.ym.mec.biz.service.SysPaymentConfigService;
|
|
|
import com.ym.mec.common.controller.BaseController;
|
|
|
import com.ym.mec.common.entity.HttpResponseResult;
|
|
|
+import com.ym.mec.common.tenant.TenantContextHolder;
|
|
|
|
|
|
@RequestMapping("paymentConfig")
|
|
|
@Api(tags = "支付设置服务")
|
|
@@ -113,7 +114,7 @@ public class SysPaymentConfigController extends BaseController {
|
|
|
if (sysUser == null || sysUser.getId() == null) {
|
|
|
return failed(HttpStatus.FORBIDDEN, "请登录");
|
|
|
}
|
|
|
- return succeed(sysPaymentConfigService.getPaymentConfigs(payType, sysUser.getTenantId()));
|
|
|
+ return succeed(sysPaymentConfigService.getPaymentConfigs(payType, TenantContextHolder.getTenantId()));
|
|
|
}
|
|
|
|
|
|
|