Commit 46b13cc2 by yao.xiao

测试

parent 05d73eac
......@@ -25,6 +25,8 @@ public class PractitionerArticleController {
@RequestMapping("/articleShareCodeSave")
public Object articleShareCodeSave(@RequestBody ArticleShareCodeSaveRequestVO requestVO){
JsonResult result = new JsonResult();
System.out.println("分享文章保存");
System.out.println(requestVO.toString());
ArticleShareCodeSaveResponseVO responseVO = practitionerArticleService.articleShareCodeSave(requestVO);
result.addResult(responseVO);
result.setData(responseVO);
......@@ -36,6 +38,8 @@ public class PractitionerArticleController {
*/
@RequestMapping("/articleTrackSave")
public Object articleTrackSave(@RequestBody ArticleTrackSaveRequestVO requestVO){
System.out.println("客户文章跟踪信息保存");
System.out.println(requestVO.toString());
JsonResult result = new JsonResult();
ArticleTrackSaveResponseVO responseVO = practitionerArticleService.articleTrackSave(requestVO);
result.addResult(responseVO);
......@@ -49,6 +53,7 @@ public class PractitionerArticleController {
@RequestMapping(value = "/articleTrackQuery",method = RequestMethod.GET)
public Object articleTrackQuery(@RequestParam("practitionerId") Long practitionerId,
@RequestParam("sharingId") Long sharingId ){
System.out.println("客户文章跟踪信息查询");
JsonResult result = new JsonResult();
ArticleTrackQueryResponseVO responseVO = practitionerArticleService.articleTrackQuery(practitionerId,sharingId);
result.addResult(responseVO);
......
......@@ -94,4 +94,17 @@ public class ArticleShareCodeSaveRequestVO {
public void setUrl(String url) {
this.url = url;
}
@Override
public String toString() {
return "ArticleShareCodeSaveRequestVO{" +
"itemId=" + itemId +
", practitionerId=" + practitionerId +
", shareCode='" + shareCode + '\'' +
", customerId=" + customerId +
", os=" + os +
", channel=" + channel +
", url='" + url + '\'' +
'}';
}
}
......@@ -184,4 +184,24 @@ public class ArticleTrackSaveRequestVO {
public void setIpAddress(String ipAddress) {
this.ipAddress = ipAddress;
}
@Override
public String toString() {
return "ArticleTrackSaveRequestVO{" +
"id=" + id +
", shareId=" + shareId +
", shareCode='" + shareCode + '\'' +
", nickname='" + nickname + '\'' +
", gender=" + gender +
", imagePath='" + imagePath + '\'' +
", region='" + region + '\'' +
", sourceFrom='" + sourceFrom + '\'' +
", entryPage='" + entryPage + '\'' +
", buttonId='" + buttonId + '\'' +
", anchorId='" + anchorId + '\'' +
", actionType='" + actionType + '\'' +
", deviceType='" + deviceType + '\'' +
", ipAddress='" + ipAddress + '\'' +
'}';
}
}
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