wuwen 5 年 前
コミット
cd5265e705

+ 3 - 0
src/main/java/com/ssj/api/controller/ApiMerchantController.java

@@ -11,6 +11,7 @@ import org.springframework.web.bind.annotation.RequestBody;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RestController;
 
+import com.alibaba.fastjson.JSONObject;
 import com.ssj.api.domain.vo.merchant.ServiceVo;
 import com.ssj.api.security.annotation.IgnoreSecurity;
 import com.ssj.bean.sys.fx.domain.Merchant;
@@ -40,6 +41,7 @@ public class ApiMerchantController extends BaseController {
 	@RequestMapping(value = "/service")
     @ApiOperation(value = "获取商户套餐信息接口",  notes = "获取商户套餐信息接口")
     public ResponseEntity getAccessToken(@RequestBody ServiceVo requestVO) {
+		logger.info("第三方调用接口【service】,请求参数:"+JSONObject.toJSONString(requestVO));
         ResponseEntity responseEntity = new ResponseEntity();
         Map<String,Object> data=new HashMap<String, Object>();
         try {
@@ -83,6 +85,7 @@ public class ApiMerchantController extends BaseController {
             logger.error("获取商户套餐信息接口", e);
             responseEntity.failure(ResponseConstant.CODE_500, "系统繁忙,请稍后重试");
         }
+        logger.info("第三方调用接口【service】,返回结果:"+JSONObject.toJSONString(responseEntity));
         return responseEntity;
     }