Browse Source

백오피스 브랜드 로그파일 추가

dwkim 2 years ago
parent
commit
6d25e9f03a

+ 14 - 0
src/main/java/com/oqpo/api/web/controller/stinfo/BrandController.java

@@ -121,7 +121,21 @@ public class BrandController {
121 121
     public ResponseEntity<OqScmBrandInfoResModel> infoOqBrand(@ApiIgnore String userId, @RequestBody @Valid OqScmBrandInfoReqModel oqScmBrandInfoReqModel) throws Exception {
122 122
         OqScmBrandInfoResModel res = null;
123 123
         try {
124
+            log.info("BRAND CD===================>" + oqScmBrandInfoReqModel.getBrandCd());
125
+            log.info("BRAND ID===================>" + oqScmBrandInfoReqModel.getBrandId());
126
+
124 127
             res = oqlinkClient.getScmBrandInfo(HmacUtil.makeHmacValue4OqLink(oqScmBrandInfoReqModel), oqScmBrandInfoReqModel);
128
+            log.info("BRAND ID===================>" + res.getCode() == null ? "" : res.getCode());
129
+            log.info("BRAND ID===================>" + res.getMessage() == null ? "" : res.getMessage());
130
+
131
+            log.info("BRAND ID===================>" + res.getBrandCd() == null ? "" : res.getBrandCd());
132
+            log.info("BRAND ID===================>" + res.getBrandId() == null ? "" : res.getBrandId());
133
+            log.info("BRAND ID===================>" + res.getBrandNm() == null ? "" : res.getBrandNm());
134
+            log.info("BRAND ID===================>" + res.getCateCd() == null ? "" : res.getCateCd());
135
+            log.info("BRAND ID===================>" + res.getDelYn() == null ? "" : res.getDelYn());
136
+           
137
+
138
+
125 139
         } catch (Exception e) {
126 140
             res = new OqScmBrandInfoResModel();
127 141
             res.setCode("21001");