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
97c56437
Commit
97c56437
authored
Apr 29, 2021
by
宋毅
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'center-channel' of gitlab.gongsibao.com:jiangyong/zhichan into center-channel
parents
7439f3f5
d3e0fe5e
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
5 additions
and
281 deletions
+5
-281
center-channel/app/base/api/impl/action/opNeed.js
+0
-7
center-channel/app/base/api/impl/opreceive/accessAuth.js
+0
-1
center-channel/app/base/service/impl/common/baseCenterOrderSve.js
+1
-36
center-channel/app/base/service/impl/common/qcCenterOrderSve.js
+0
-63
center-channel/app/base/service/impl/common/regCenterOrderSve.js
+0
-13
center-channel/app/base/service/impl/trademark/tmquerySve.js
+3
-3
center-channel/app/base/service/impl/utilsSve/utilsNeedCommSve.js
+1
-2
center-channel/app/base/service/impl/utilsSve/utilsNeedSve.js
+0
-94
center-channel/app/base/service/impl/utilsSve/utilsNeedSve2.js
+0
-0
center-channel/app/base/service/impl/utilsSve/utilsOpNeedSve.js
+0
-62
No files found.
center-channel/app/base/api/impl/action/opNeed.js
View file @
97c56437
...
@@ -46,13 +46,6 @@ class OpNeed extends APIBase {
...
@@ -46,13 +46,6 @@ class OpNeed extends APIBase {
case
"test"
:
//2020 0826 lin 测试使用
case
"test"
:
//2020 0826 lin 测试使用
opResult
=
await
this
.
utilsOpNeedSve
.
test
(
pobj
,
pobj
.
actionBody
);
opResult
=
await
this
.
utilsOpNeedSve
.
test
(
pobj
,
pobj
.
actionBody
);
break
;
break
;
// case "getItemByChannelNeedNo"://方案反馈
// opResult = await this.utilsOpNeedSve.getItemByChannelNeedNo(pobj, pobj.actionBody);
// break;
// case "receiveFeedback"://关闭方案
// opResult = await this.centerorderSve.reqCenterOrderApi(pobj);
// break;
//企服通统计页面接口----start
//企服通统计页面接口----start
case
"getStatisticsByUappId"
:
case
"getStatisticsByUappId"
:
opResult
=
await
this
.
utilsOpNeedSve
.
getStatisticsByUappId
(
pobj
);
opResult
=
await
this
.
utilsOpNeedSve
.
getStatisticsByUappId
(
pobj
);
...
...
center-channel/app/base/api/impl/opreceive/accessAuth.js
View file @
97c56437
...
@@ -5,7 +5,6 @@ class AccessAuthAPI extends APIBase {
...
@@ -5,7 +5,6 @@ class AccessAuthAPI extends APIBase {
constructor
()
{
constructor
()
{
super
();
super
();
this
.
utilsAuthSve
=
system
.
getObject
(
"service.utilsSve.utilsAuthSve"
);
this
.
utilsAuthSve
=
system
.
getObject
(
"service.utilsSve.utilsAuthSve"
);
this
.
utilsNeedSve
=
system
.
getObject
(
"service.utilsSve.utilsNeedSve"
);
}
}
/**
/**
* 接口跳转-POST请求
* 接口跳转-POST请求
...
...
center-channel/app/base/service/impl/common/baseCenterOrderSve.js
View file @
97c56437
...
@@ -372,26 +372,6 @@ class BaseCenterOrderService extends AppServiceBase {
...
@@ -372,26 +372,6 @@ class BaseCenterOrderService extends AppServiceBase {
return
pushRes
;
return
pushRes
;
}
}
//服务商icp方案关闭 2020-10-26 laolan
async
abolishIcpProgramme
(
pobj
)
{
var
res
=
await
this
.
reqCenterOrderApi
(
pobj
,
"action/qcapi/springBoard"
);
if
(
res
&&
res
.
status
==
0
&&
res
.
data
)
{
var
needsolution
=
res
.
data
;
//方案信息
var
ab
=
pobj
.
actionBody
;
if
(
typeof
(
ab
.
material
)
==
"string"
)
{
ab
.
material
=
JSON
.
parse
(
ab
.
material
);
}
//推送数据至阿里
var
pushObj
=
{
BizId
:
ab
.
BizId
,
Note
:
ab
.
Note
};
//关闭方案
this
.
aliclient
.
reqbyget
({
action
:
"CloseIcpProduce"
,
reqbody
:
pushObj
,
apiVersion
:
"2019-05-08"
});
return
system
.
getResultSuccess
();
}
return
res
;
}
//队列推送材料
//队列推送材料
async
serviceProviderSubmit2Material
(
pobj
)
{
async
serviceProviderSubmit2Material
(
pobj
)
{
console
.
log
(
"serviceProviderSubmit2Material+++++pobj+++"
,
pobj
)
console
.
log
(
"serviceProviderSubmit2Material+++++pobj+++"
,
pobj
)
...
@@ -876,22 +856,7 @@ class BaseCenterOrderService extends AppServiceBase {
...
@@ -876,22 +856,7 @@ class BaseCenterOrderService extends AppServiceBase {
}
}
return
res
;
return
res
;
}
}
//交付单关闭
async
closeOrderDelivery
(
pobj
)
{
var
res
=
await
this
.
reqCenterOrderApi
(
pobj
,
"action/qcapi/springBoard"
);
if
(
res
&&
res
.
status
==
0
&&
res
.
data
)
{
var
needsolution
=
res
.
data
;
//方案信息
var
ab
=
pobj
.
actionBody
;
//推送数据至阿里
var
pushObj
=
{
BizId
:
needsolution
.
channelSolutionNo
,
Note
:
ab
.
note
};
//关闭方案
this
.
aliclient
.
reqbyget
({
action
:
"CloseIcpProduce"
,
reqbody
:
pushObj
,
apiVersion
:
"2019-05-08"
});
return
system
.
getResultSuccess
();
}
return
res
;
}
//易名退款,关闭订单 2021-3-23
//易名退款,关闭订单 2021-3-23
async
eNameCloseOrder
(
pobj
){
async
eNameCloseOrder
(
pobj
){
...
...
center-channel/app/base/service/impl/common/qcCenterOrderSve.js
View file @
97c56437
...
@@ -139,69 +139,6 @@ class QcCenterOrderService extends AppServiceBase {
...
@@ -139,69 +139,6 @@ class QcCenterOrderService extends AppServiceBase {
return
res
;
return
res
;
}
}
//交付材料提交
async
serviceProviderSubmitMaterial
(
pobj
)
{
var
res
=
await
this
.
reqCenterOrderApi
(
pobj
,
"action/qcapi/springBoard"
);
if
(
res
&&
res
.
status
==
0
&&
res
.
data
)
{
var
needsolution
=
res
.
data
;
//方案信息
var
ab
=
pobj
.
actionBody
;
if
(
typeof
(
ab
.
material
)
==
"string"
)
{
ab
.
material
=
JSON
.
parse
(
ab
.
material
);
}
var
material
=
ab
.
material
;
//推送数据至阿里
var
BizId
=
needsolution
.
channelSolutionNo
;
//⽅案业务ID
var
pushObj
=
{
"BizId"
:
BizId
,
"Domain"
:
material
.
Domain
,
"CorporateName"
:
material
.
CorporateName
,
"IncludeForeignInvestment"
:
material
.
IncludeForeignInvestment
,
"PartnerBusinessLicense"
:
material
.
PartnerBusinessLicense
,
"PartnerIdCardList"
:
material
.
PartnerIdCardList
,
"PartnerDomainCertificate"
:
material
.
PartnerDomainCertificate
,
"PartnerPreviewOtherList"
:
material
.
PartnerPreviewOtherList
||
[],
"PartnerPlan"
:
material
.
PartnerPlan
||
""
,
"PartnerForeignInvestment"
:
material
.
PartnerForeignInvestment
||
""
,
"PartnerLaw"
:
material
.
PartnerLaw
||
""
,
"PartnerStampOtherList"
:
material
.
PartnerStampOtherList
||
[],
"PartnerSignOtherList"
:
material
.
PartnerSignOtherList
||
[],
"PartnerSignAndStampOtherList"
:
material
.
PartnerSignAndStampOtherList
||
[]
};
var
self
=
this
;
//推送方案材料
if
(
pobj
.
appInfo
.
uapp_id
==
18
)
{
self
.
aliclient
.
reqbyget
({
action
:
"SavePartnerSubmitMaterial"
,
reqbody
:
pushObj
,
apiVersion
:
"2019-05-08"
});
}
return
system
.
getResultSuccess
();
}
return
res
;
}
//通知交付状态变更
async
serviceProviderNotification
(
pobj
)
{
var
res
=
await
this
.
reqCenterOrderApi
(
pobj
,
"action/qcapi/springBoard"
);
if
(
res
&&
res
.
status
==
0
&&
res
.
data
)
{
pobj
.
actionType
=
"getOrderByOrderNo"
;
let
orderUrl
=
settings
.
centerOrderUrl
()
+
"action/order/springBoard"
;
let
orderResult
=
await
this
.
restPostUrl
(
pobj
,
orderUrl
);
if
(
orderResult
.
status
!=
0
)
{
return
system
.
getResultFail
(
-
1
,
'查询订单失败'
)
}
let
uapp_id
=
orderResult
.
data
.
uapp_id
;
pobj
.
appInfo
=
{
uapp_id
:
uapp_id
};
pobj
.
actionType
=
"getAppInterface"
;
var
reqUrl
=
settings
.
centerAppUrl
()
+
"action/opProduct/springBoard"
;
var
productItemInterfaceResult
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
if
(
productItemInterfaceResult
.
status
!=
0
)
{
system
.
getResultFail
(
-
1
,
'获取接口参数失败'
)
}
pobj
.
interface_info
=
productItemInterfaceResult
.
data
;
pobj
.
pushObj
=
res
.
data
;
this
.
utilsPushSve
.
pushBusInfo
(
pobj
,
'pushStatus'
,
1
);
return
system
.
getResultSuccess
();
}
return
res
;
}
//交付单关闭
//交付单关闭
async
closeOrderDelivery
(
pobj
)
{
async
closeOrderDelivery
(
pobj
)
{
var
res
=
await
this
.
reqCenterOrderApi
(
pobj
,
"action/qcapi/springBoard"
);
var
res
=
await
this
.
reqCenterOrderApi
(
pobj
,
"action/qcapi/springBoard"
);
...
...
center-channel/app/base/service/impl/common/regCenterOrderSve.js
View file @
97c56437
...
@@ -178,19 +178,6 @@ class RegCenterOrderService extends AppServiceBase {
...
@@ -178,19 +178,6 @@ class RegCenterOrderService extends AppServiceBase {
var
itemResult
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
var
itemResult
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
return
itemResult
;
return
itemResult
;
}
}
/**
* 获取方案详情
* @param {*} pobj
* @param {*} actionBody bizId 渠道方案号
*/
async
getSolutionByChannelOrderNo
(
pobj
,
actionBody
)
{
if
(
!
actionBody
.
orderNo
)
{
return
system
.
getResult
(
null
,
"actionBody.orderNo can not be empty,100390"
);
}
var
reqUrl
=
this
.
centerOrderUrl
+
"action/need/springBoard"
;
var
itemResult
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
return
itemResult
;
}
/**
/**
* 获取需求详情
* 获取需求详情
...
...
center-channel/app/base/service/impl/trademark/tmquerySve.js
View file @
97c56437
...
@@ -183,12 +183,12 @@ class TmqueryService {
...
@@ -183,12 +183,12 @@ class TmqueryService {
orgname
:
queryobj
.
orgname
,
orgname
:
queryobj
.
orgname
,
appkey
:
"5b29981785bd4272966b15ad8e8b9dd3"
appkey
:
"5b29981785bd4272966b15ad8e8b9dd3"
}
}
let
url
=
settings
.
icNameUrl
()
+
'
api/icName/CheckName
'
let
url
=
settings
.
icNameUrl
()
+
'
openPlatform/ic/match
'
let
result
=
await
this
.
opReqResult
(
url
,
data
,
req
);
let
result
=
await
this
.
opReqResult
(
url
,
data
,
req
);
if
(
result
.
Status
!=
200
){
if
(
result
.
code
!=
200
){
return
system
.
getResult
(
-
1
,
result
.
message
);
return
system
.
getResult
(
-
1
,
result
.
message
);
}
}
return
system
.
getResult
(
result
.
data
);
return
system
.
getResult
(
result
);
}
}
async
opReqResult
(
reqUrl
,
queryobj
,
req
)
{
async
opReqResult
(
reqUrl
,
queryobj
,
req
)
{
...
...
center-channel/app/base/service/impl/utilsSve/utilsNeedCommSve.js
View file @
97c56437
...
@@ -5,7 +5,7 @@ const fs = require("fs");
...
@@ -5,7 +5,7 @@ const fs = require("fs");
const
{
json
}
=
require
(
"sequelize"
);
const
{
json
}
=
require
(
"sequelize"
);
const
{
getResult
,
getResultSuccess
}
=
require
(
"../../../system"
);
const
{
getResult
,
getResultSuccess
}
=
require
(
"../../../system"
);
//需求操作类----操作类型-公用的
//需求操作类----操作类型-公用的
--未用到
class
UtilsNeedCommService
extends
AppServiceBase
{
class
UtilsNeedCommService
extends
AppServiceBase
{
constructor
()
{
constructor
()
{
super
();
super
();
...
@@ -15,7 +15,6 @@ class UtilsNeedCommService extends AppServiceBase {
...
@@ -15,7 +15,6 @@ class UtilsNeedCommService extends AppServiceBase {
this
.
ossClient
=
system
.
getObject
(
"util.ossClient"
);
this
.
ossClient
=
system
.
getObject
(
"util.ossClient"
);
this
.
restClient
=
system
.
getObject
(
"util.restClient"
);
this
.
restClient
=
system
.
getObject
(
"util.restClient"
);
this
.
utilsOrderSve
=
system
.
getObject
(
"service.utilsSve.utilsOrderSve"
);
this
.
utilsOrderSve
=
system
.
getObject
(
"service.utilsSve.utilsOrderSve"
);
this
.
qcCenterOrderSve
=
system
.
getObject
(
"service.common.qcCenterOrderSve"
);
this
.
opPushQueueUrl
=
settings
.
opPushQueueUrl
();
this
.
opPushQueueUrl
=
settings
.
opPushQueueUrl
();
this
.
utilsAuthSve
=
system
.
getObject
(
"service.utilsSve.utilsAuthSve"
);
this
.
utilsAuthSve
=
system
.
getObject
(
"service.utilsSve.utilsAuthSve"
);
}
}
...
...
center-channel/app/base/service/impl/utilsSve/utilsNeedSve.js
View file @
97c56437
...
@@ -428,79 +428,6 @@ class UtilsNeedService extends AppServiceBase {
...
@@ -428,79 +428,6 @@ class UtilsNeedService extends AppServiceBase {
return
result
;
return
result
;
}
}
/**
* icp关闭需求
* @param {*} pobj
* @param {*} actionBody
*/
async
needCloseIcp
(
pobj
,
actionBody
)
{
if
(
!
actionBody
.
channelNeedNo
)
{
return
system
.
getResult
(
null
,
"actionBody.channelNeedNo can not be empty,100395"
);
}
if
(
!
actionBody
.
note
)
{
return
system
.
getResult
(
null
,
"actionBody.note can not be empty,100395"
);
}
var
self
=
this
;
pobj
.
actionBody
.
intentionBizId
=
pobj
.
actionBody
.
channelNeedNo
;
pobj
.
actionType
=
"abolishIcpProgrammeByNeed"
var
reqUrl
=
this
.
centerOrderUrl
+
"action/qcapi/springBoard"
;
var
result
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
this
.
logCtl
.
info
({
appid
:
pobj
.
appInfo
?
pobj
.
appInfo
.
uapp_id
||
""
:
""
,
appkey
:
pobj
.
appInfo
?
pobj
.
appInfo
.
uapp_key
||
""
:
""
,
requestId
:
pobj
.
requestId
||
""
,
op
:
"service/impl/utilsSve/utilsNeedSve.js/needCloseIcp"
,
content
:
JSON
.
stringify
(
pobj
),
resultInfo
:
JSON
.
stringify
(
result
),
optitle
:
"abolishIcpProgrammeByNeed推送蜂擎获取的接口信息->aliBusiness2Delivery"
,
});
if
(
result
.
status
==
0
)
{
if
(
result
.
data
)
{
pobj
.
actionBody
.
orderNo
=
result
.
data
;
var
orderrtn
=
await
self
.
utilsOrderSve
.
delOrder
(
pobj
,
pobj
.
actionBody
);
if
(
orderrtn
.
status
<
0
)
{
return
system
.
getResultFail
(
-
5022
,
"订单关闭失败"
);
}
}
//推送交付系统
var
reqParams
=
{
actionBody
:
{
intentionBizId
:
pobj
.
actionBody
.
channelNeedNo
,
status
:
"closeNeed"
},
opType
:
"updateChanceStatus"
,
appInfo
:
pobj
.
appInfo
}
self
.
utilsPushSve
.
business2Channel
(
reqParams
,
"updateChanceStatus"
);
//日志记录
self
.
logCtl
.
info
({
appid
:
pobj
.
appInfo
?
pobj
.
appInfo
.
uapp_id
||
""
:
""
,
appkey
:
pobj
.
appInfo
?
pobj
.
appInfo
.
uapp_key
||
""
:
""
,
requestId
:
pobj
.
requestId
||
""
,
op
:
"service/impl/utilsSve/utilsNeedSve.js/needCloseIcp"
,
content
:
JSON
.
stringify
(
reqParams
),
resultInfo
:
""
,
optitle
:
"updateChanceStatus推送蜂擎获取的接口信息->aliBusiness2Delivery"
,
});
// 推送ali
var
a
=
await
self
.
aliclient
.
reqbyget
({
action
:
"CloseIntention"
,
reqbody
:
{
BizId
:
actionBody
.
channelNeedNo
,
Note
:
actionBody
.
note
},
apiVersion
:
"2019-05-08"
});
// console.log(a);//TODO:laolan添加日志记录
self
.
utilsPushSve
.
business2Channel
(
pobj
,
"pushCloseICPNeed"
);
}
return
result
}
//查询需求详情
async
getItemByNeedNo
(
pobj
,
actionBody
)
{
if
(
!
actionBody
.
needNo
)
{
return
system
.
getResult
(
null
,
"actionBody.needNo can not be empty,100395"
);
}
var
reqUrl
=
this
.
centerOrderUrl
+
"action/need/springBoard"
;
var
result
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
return
result
;
}
//状态更新
//状态更新
async
icpNotify
(
pobj
)
{
async
icpNotify
(
pobj
)
{
var
actionBody
=
pobj
.
actionBody
;
var
actionBody
=
pobj
.
actionBody
;
...
@@ -1746,23 +1673,3 @@ class UtilsNeedService extends AppServiceBase {
...
@@ -1746,23 +1673,3 @@ class UtilsNeedService extends AppServiceBase {
}
}
module
.
exports
=
UtilsNeedService
;
module
.
exports
=
UtilsNeedService
;
\ No newline at end of file
// var a=new UtilsNeedService();
// a.queryExpertApplyCommunicationLogs({actionBody:{intentionBizId:"20200805103324000001",userFeedBack:true}});
// // var a=new UtilsNeedService();
// a.writeCommunicationLog({actionBody:{intentionBizId:"20200804200124000001",note:"测试反馈"}});
// var a=new UtilsNeedService();
// a.needCloseIcp({actionBody:{channelNeedNo:20200804200124000001,note:"ceshifankui"}},{channelNeedNo:20200803095203000001,note:"ceshifankui"});
// var a = new UtilsNeedService();
// a.queryTradeIntentionUserList({ actionBody: { intentionBizId: "20200803095203000001", userFeedBack: true } });
// var a = new UtilsNeedService();
// a.test();
// var a = new UtilsNeedService();
// a.ediNotify(null, {
// operationType:'USER_UPLOAD_PRODUCE',
// extInfo:"{\"businessLicense\":[\"https://companyreg-wangwen.oss-cn-shanghai.aliyuncs.com/business_license/1219541161213057/1603184928383/xk8suu62qo.jpg?Expires=1603193934&OSSAccessKeyId=hObpgEXoca42qH3V&Signature=BtHNsjWCN0Eqp2OQWwim8J62eWA%3D&response-content-disposition=fileName%3D%E8%90%A5%E4%B8%9A%E6%89%A7%E7%85%A7%3B\"],\"idCardList\":[\"https://companyreg-wangwen.oss-cn-shanghai.aliyuncs.com/card/1219541161213057/1603184933494/0m5epfgzhg79.jpg?Expires=1603193934&OSSAccessKeyId=hObpgEXoca42qH3V&Signature=5w%2FhkZuJ%2BxR5J9nC4QzkhqcrKy4%3D&response-content-disposition=fileName%3D%E7%9B%B8%E5%85%B3%E4%BA%BA%E5%91%98%E8%BA%AB%E4%BB%BD%E8%AF%81%3B\"]}"
// })
center-channel/app/base/service/impl/utilsSve/utilsNeedSve2.js
View file @
97c56437
This diff is collapsed.
Click to expand it.
center-channel/app/base/service/impl/utilsSve/utilsOpNeedSve.js
View file @
97c56437
...
@@ -65,20 +65,6 @@ class UtilsOpNeedService extends AppServiceBase {
...
@@ -65,20 +65,6 @@ class UtilsOpNeedService extends AppServiceBase {
}
}
/**
/**
* 获取需求详情
* @param {*} pobj
* @param {*} actionBody needNo 需求号
*/
async
getItemByNeedNo
(
pobj
,
actionBody
)
{
if
(
!
actionBody
.
needNo
)
{
return
system
.
getResult
(
null
,
"actionBody.needNo can not be empty,100385"
);
}
var
reqUrl
=
this
.
centerOrderUrl
+
"action/need/springBoard"
;
var
itemResult
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
return
itemResult
;
}
/**
* 关闭需求
* 关闭需求
* @param {*} pobj
* @param {*} pobj
* @param {*} actionBody
* @param {*} actionBody
...
@@ -217,44 +203,6 @@ class UtilsOpNeedService extends AppServiceBase {
...
@@ -217,44 +203,6 @@ class UtilsOpNeedService extends AppServiceBase {
return
result
;
return
result
;
}
}
async
needDetailByChannelNo
(
pobj
)
{
if
(
!
pobj
.
actionBody
.
bizId
)
{
return
system
.
getResult
(
null
,
"actionBody.bizId can not be empty,100491"
);
}
var
solutionobj
=
{
actionType
:
"getIcpProgrammeDetail"
,
actionBody
:
{
BizId
:
pobj
.
actionBody
.
bizId
},
appInfo
:
pobj
.
appInfo
,
actionProcess
:
pobj
.
actionProcess
}
var
url
=
this
.
centerOrderUrl
+
"action/icpapi/springBoard"
;
var
solutionrtn
=
await
this
.
execClient
.
execPost
(
solutionobj
,
url
);
if
(
!
solutionrtn
||
!
solutionrtn
.
stdout
)
{
return
system
.
getResultFail
(
-
5011
,
"方案查询失败"
);
}
var
solutiondata
=
JSON
.
parse
(
solutionrtn
.
stdout
);
if
(
solutiondata
.
status
!=
0
)
{
return
system
.
getResultFail
(
-
5011
,
"方案查询失败"
);
}
if
(
solutiondata
.
data
&&
solutiondata
.
data
[
0
].
channelNeedNo
)
{
pobj
.
actionBody
.
needNo
=
solutiondata
.
data
[
0
].
channelNeedNo
;
pobj
.
actionBody
.
needId
=
solutiondata
.
data
[
0
].
channelNeedNo
;
pobj
.
actionBody
.
channelSolutionNo
=
solutiondata
.
data
[
0
].
channelSolutionNo
;
}
var
sobj
=
{
actionType
:
"getItemByChannelNeedNo"
,
actionBody
:
pobj
.
actionBody
,
appInfo
:
pobj
.
appInfo
,
actionProcess
:
pobj
.
actionProcess
}
var
reqUrl
=
this
.
centerOrderUrl
+
"action/need/springBoard"
;
var
itemResult
=
await
this
.
restPostUrl
(
sobj
,
reqUrl
);
if
(
itemResult
.
status
==
0
)
{
itemResult
.
data
.
channelSolutionNo
=
pobj
.
actionBody
.
channelSolutionNo
;
}
return
itemResult
;
}
async
writeCommunicationLog
(
pobj
)
{
async
writeCommunicationLog
(
pobj
)
{
if
(
!
pobj
.
actionBody
.
intentionBizId
)
{
if
(
!
pobj
.
actionBody
.
intentionBizId
)
{
return
system
.
getResult
(
null
,
"actionBody.intentionBizId can not be empty,100491"
);
return
system
.
getResult
(
null
,
"actionBody.intentionBizId can not be empty,100491"
);
...
@@ -550,14 +498,4 @@ class UtilsOpNeedService extends AppServiceBase {
...
@@ -550,14 +498,4 @@ class UtilsOpNeedService extends AppServiceBase {
module
.
exports
=
UtilsOpNeedService
;
module
.
exports
=
UtilsOpNeedService
;
// var a=new UtilsNeedService();
// a.queryExpertApplyCommunicationLogs({actionBody:{intentionBizId:"20200803095203000001",userFeedBack:true}});
// // var a=new UtilsNeedService();
// a.writeCommunicationLog({actionBody:{intentionBizId:"20200804200124000001",note:"测试反馈"}});
// var a=new UtilsNeedService();
// a.needCloseIcp({actionBody:{channelNeedNo:20200804200124000001,note:"ceshifankui"}},{channelNeedNo:20200803095203000001,note:"ceshifankui"});
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