Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
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
蒋勇
zhichan
Commits
08472982
Commit
08472982
authored
Aug 04, 2020
by
linboxuan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'center-channel' of
http://gitlab.gongsibao.com/jiangyong/zhichan
into center-channel
parents
4cb40750
7ca97759
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
13 deletions
+18
-13
center-channel/app/base/service/impl/utilsSve/utilsNeedSve.js
+18
-13
No files found.
center-channel/app/base/service/impl/utilsSve/utilsNeedSve.js
View file @
08472982
...
...
@@ -374,35 +374,38 @@ class UtilsNeedService extends AppServiceBase {
}
async
writeCommunicationLog
(
pobj
)
{
if
(
!
pobj
.
actionBody
.
BizId
)
{
return
system
.
getResult
(
null
,
"actionBody.BizId can not be empty,100491"
);
if
(
!
pobj
.
actionBody
.
intention
BizId
)
{
return
system
.
getResult
(
null
,
"actionBody.
intention
BizId can not be empty,100491"
);
}
if
(
!
pobj
.
actionBody
.
N
ote
)
{
return
system
.
getResult
(
null
,
"actionBody.
N
ote can not be empty,100492"
);
if
(
!
pobj
.
actionBody
.
n
ote
)
{
return
system
.
getResult
(
null
,
"actionBody.
n
ote can not be empty,100492"
);
}
var
self
=
this
;
var
reqUrl
=
this
.
centerOrderUrl
+
"action/need/springBoard"
;
var
result
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
let
res
=
await
self
.
aliclient
.
reqbyget
({
action
:
"WriteCommunicationLog"
,
reqbody
:
{
BizId
:
pobj
.
actionBody
.
BizId
,
Note
:
pobj
.
actionBody
.
N
ote
},
apiVersion
:
"2019-05-08"
});
let
res
=
await
self
.
aliclient
.
reqbyget
({
action
:
"WriteCommunicationLog"
,
reqbody
:
{
BizId
:
pobj
.
actionBody
.
intentionBizId
,
Note
:
pobj
.
actionBody
.
n
ote
},
apiVersion
:
"2019-05-08"
});
return
result
;
}
async
queryExpertApplyCommunicationLogs
(
pobj
)
{
if
(
!
pobj
.
actionBody
.
BizId
)
{
return
system
.
getResult
(
null
,
"actionBody.BizId can not be empty,100493"
);
if
(
!
pobj
.
actionBody
.
intention
BizId
)
{
return
system
.
getResult
(
null
,
"actionBody.
intention
BizId can not be empty,100493"
);
}
if
(
!
pobj
.
actionBody
.
U
serFeedBack
)
{
return
system
.
getResult
(
null
,
"actionBody.
U
serFeedBack can not be empty,100494"
);
if
(
!
pobj
.
actionBody
.
u
serFeedBack
)
{
return
system
.
getResult
(
null
,
"actionBody.
u
serFeedBack can not be empty,100494"
);
}
let
res
=
await
self
.
aliclient
.
reqbyget
({
action
:
"queryExpertApplyCommunicationLogs"
,
reqbody
:
{
BeginTime
:
pobj
.
actionBody
.
BeginTime
?
pobj
.
actionBody
.
BeginTime
:
""
,
EndTime
:
pobj
.
actionBody
.
EndTime
?
pobj
.
actionBody
.
EndTime
:
""
,
BizId
:
pobj
.
actionBody
.
BizId
,
UserFeedBack
:
pobj
.
actionBody
.
UserFeedBack
,
BizId
:
pobj
.
actionBody
.
intentionBizId
,
UserFeedBack
:
pobj
.
actionBody
.
userFeedBack
,
PageNum
:
pobj
.
actionBody
.
pageNum
||
1
,
PageSize
:
pobj
.
actionBody
.
pageSize
||
10
,
apiVersion
:
"2019-05-08"
}
});
console
.
log
(
res
);
return
res
;
}
...
...
@@ -427,4 +430,7 @@ class UtilsNeedService extends AppServiceBase {
module
.
exports
=
UtilsNeedService
;
// var a=new UtilsNeedService();
// a.test1();
\ No newline at end of file
// a.queryExpertApplyCommunicationLogs({intentionBizId:20200803095203000001,userFeedBack:true});
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