update参数返回编码表

This commit is contained in:
2024-04-19 16:00:19 +08:00
parent bd44f71284
commit 55eb16784a
2 changed files with 18 additions and 15 deletions

View File

@@ -2,6 +2,7 @@ package com.jsowell.web.controller.thirdparty.neimenggu;
import com.alibaba.fastjson2.JSON;
import com.jsowell.common.annotation.Anonymous;
import com.jsowell.common.exception.BusinessException;
import com.jsowell.pile.dto.QueryOperatorInfoDTO;
import com.jsowell.pile.dto.QueryStationInfoDTO;
import com.jsowell.pile.thirdparty.CommonParamsDTO;
@@ -64,6 +65,8 @@ public class NMGController extends ThirdPartyBaseController {
Map<String, String> map = platformLogic.queryOperatorInfo(paramDTO);
logger.info("内蒙古平台查询运营商信息 result:{}", JSON.toJSONString(map));
return CommonResult.success(0, "操作成功!", map.get("Data"), map.get("Sig"));
} catch (BusinessException e) {
return CommonResult.failed(Integer.parseInt(e.getCode()), e.getMessage());
} catch (Exception e) {
logger.error("内蒙古平台查询运营商信息 异常", e);
return CommonResult.failed("查询运营商信息发生异常");