Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-backend
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
AutogeneralShanghai
yd-backend
Commits
46b13cc2
Commit
46b13cc2
authored
May 20, 2021
by
yao.xiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
05d73eac
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
0 deletions
+38
-0
yd-api/src/main/java/com/yd/api/practitioner/PractitionerArticleController.java
+5
-0
yd-api/src/main/java/com/yd/api/practitioner/vo/article/ArticleShareCodeSaveRequestVO.java
+13
-0
yd-api/src/main/java/com/yd/api/practitioner/vo/article/ArticleTrackSaveRequestVO.java
+20
-0
No files found.
yd-api/src/main/java/com/yd/api/practitioner/PractitionerArticleController.java
View file @
46b13cc2
...
...
@@ -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
);
...
...
yd-api/src/main/java/com/yd/api/practitioner/vo/article/ArticleShareCodeSaveRequestVO.java
View file @
46b13cc2
...
...
@@ -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
+
'\''
+
'}'
;
}
}
yd-api/src/main/java/com/yd/api/practitioner/vo/article/ArticleTrackSaveRequestVO.java
View file @
46b13cc2
...
...
@@ -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
+
'\''
+
'}'
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment