Commit ade76f19 by zhiheng.zhang

qa拍查问题日志

parent c11b92c6
...@@ -17,6 +17,7 @@ import cn.freemud.entities.vo.OrderCallBackRequestVo; ...@@ -17,6 +17,7 @@ import cn.freemud.entities.vo.OrderCallBackRequestVo;
import cn.freemud.service.OrderCallBackService; import cn.freemud.service.OrderCallBackService;
import com.freemud.application.sdk.api.log.ApiAnnotation; import com.freemud.application.sdk.api.log.ApiAnnotation;
import com.freemud.application.sdk.api.log.LogParams; import com.freemud.application.sdk.api.log.LogParams;
import lombok.extern.log4j.Log4j;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.MediaType; import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.PostMapping;
...@@ -28,6 +29,7 @@ import javax.validation.Valid; ...@@ -28,6 +29,7 @@ import javax.validation.Valid;
@RestController @RestController
@RequestMapping(value = "/callback", consumes = MediaType.APPLICATION_JSON_UTF8_VALUE) @RequestMapping(value = "/callback", consumes = MediaType.APPLICATION_JSON_UTF8_VALUE)
@Log4j
public class CallBackController { public class CallBackController {
@Autowired @Autowired
...@@ -36,6 +38,8 @@ public class CallBackController { ...@@ -36,6 +38,8 @@ public class CallBackController {
@PostMapping("/order") @PostMapping("/order")
@ApiAnnotation(logMessage = "/order") @ApiAnnotation(logMessage = "/order")
public BaseResponse orderCallBackHandle(@Valid @RequestBody @LogParams OrderCallBackRequestVo requestVo) { public BaseResponse orderCallBackHandle(@Valid @RequestBody @LogParams OrderCallBackRequestVo requestVo) {
log.info("in callback order ordercode:"+ requestVo.getOrderCode());
log.info("callback order requestVo:"+ requestVo);
return orderCallBackService.orderCallBackHandle(requestVo); return orderCallBackService.orderCallBackHandle(requestVo);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment