|
|
@ -135,7 +135,9 @@ public class CpAuthGatewayFilterFactory extends AbstractGatewayFilterFactory<CpA |
|
|
|
.header(AppClientConstant.USER_ID,baseTokenDto.getUserId()) |
|
|
|
; |
|
|
|
if (StringUtils.equals(baseTokenDto.getApp(), "gov")) {//工作端
|
|
|
|
if(StringUtils.isNotBlank(customerId)){ |
|
|
|
exchange.getRequest().mutate().header(AppClientConstant.CUSTOMER_ID, customerId); |
|
|
|
} |
|
|
|
} else if (StringUtils.equals(baseTokenDto.getApp(), "public")) {//公众号端
|
|
|
|
exchange.getRequest().mutate().header(AppClientConstant.CUSTOMER_ID, customerId); |
|
|
|
} |
|
|
|