Commit 0123eb71 by 叶立庆

Merge branch 'v5.8.7.8' into 'master'

上线合并

See merge request !6
2 parents 3908b3f6 4c107050
...@@ -48,6 +48,10 @@ public class MerchantController { ...@@ -48,6 +48,10 @@ public class MerchantController {
@ServiceMethod(method="scrm.api.equity.common.merchant.detail.det", needInSession= NeedInSessionType.NO) @ServiceMethod(method="scrm.api.equity.common.merchant.detail.det", needInSession= NeedInSessionType.NO)
@ApiOperation("获取商户详情") @ApiOperation("获取商户详情")
public RopResponse<MerchantRopResponse> getMerchantDetail(OpenCardByMerchantIdRequest ropRequest) throws UnsupportedEncodingException { public RopResponse<MerchantRopResponse> getMerchantDetail(OpenCardByMerchantIdRequest ropRequest) throws UnsupportedEncodingException {
String property = env.getProperty("db.nosession.flag");
if (StringUtils.isEmpty(property)){
return RopResponse.error("当前接口已下线");
}
RpcResponse<MerchantRopResponse> rpcResponse1 = merchantRemote.getByMerchantId(ropRequest.getMerchantId()); RpcResponse<MerchantRopResponse> rpcResponse1 = merchantRemote.getByMerchantId(ropRequest.getMerchantId());
if (rpcResponse1.isSuccess() && rpcResponse1.getResult() != null){ if (rpcResponse1.isSuccess() && rpcResponse1.getResult() != null){
return RopResponse.success(rpcResponse1.getResult()); return RopResponse.success(rpcResponse1.getResult());
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!