日志TenantContextHolder.setTenantId(162L)
This commit is contained in:
parent
33aec4def3
commit
73194f5f42
|
@ -26,8 +26,8 @@ public class TenantContextHolder {
|
|||
* @return 租户编号
|
||||
*/
|
||||
public static Long getTenantId() {
|
||||
// return TENANT_ID.get();
|
||||
return 162L;
|
||||
return TENANT_ID.get();
|
||||
// return 162L;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -45,7 +45,7 @@ public class OrdersController {
|
|||
@Operation(summary = "创建订单")
|
||||
//@PreAuthorize("@ss.hasPermission('haoka:orders:create')")
|
||||
public CommonResult<Long> createOrders(@Valid @RequestBody OrdersSaveReqVO createReqVO) {
|
||||
TenantContextHolder.setTenantId(162L);
|
||||
//TenantContextHolder.setTenantId(162L);
|
||||
return success(ordersService.createOrders(createReqVO));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue