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
30da474a
Commit
30da474a
authored
Jan 11, 2021
by
宋毅
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'center-channel' of gitlab.gongsibao.com:jiangyong/zhichan into center-channel
parents
b15397d4
3f9c415b
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
36 additions
and
2 deletions
+36
-2
center-channel/app/base/api/impl/action/opNeed.js
+3
-0
center-channel/app/base/api/impl/opaction/order.js
+4
-1
center-channel/app/base/service/impl/utilsSve/utilsOpNeedSve.js
+14
-0
center-channel/app/base/service/impl/utilsSve/utilsOrderSve.js
+14
-0
center-channel/app/config/businessConfig.js
+1
-1
No files found.
center-channel/app/base/api/impl/action/opNeed.js
View file @
30da474a
...
@@ -66,6 +66,9 @@ class OpNeed extends APIBase {
...
@@ -66,6 +66,9 @@ class OpNeed extends APIBase {
case
"getNeedFunnelStatistics"
:
case
"getNeedFunnelStatistics"
:
opResult
=
await
this
.
utilsOpNeedSve
.
getNeedFunnelStatistics
(
pobj
);
opResult
=
await
this
.
utilsOpNeedSve
.
getNeedFunnelStatistics
(
pobj
);
break
;
break
;
case
"getNeedComparison"
:
opResult
=
await
this
.
utilsOpNeedSve
.
getNeedComparison
(
pobj
);
break
;
default
:
default
:
opResult
=
system
.
getResult
(
null
,
"action_type参数错误"
);
opResult
=
system
.
getResult
(
null
,
"action_type参数错误"
);
break
;
break
;
...
...
center-channel/app/base/api/impl/opaction/order.js
View file @
30da474a
...
@@ -39,7 +39,10 @@ class ProductAPI extends WEBBase {
...
@@ -39,7 +39,10 @@ class ProductAPI extends WEBBase {
opResult
=
await
this
.
utilsOrderSve
.
getOrdersStatisticsByUappId
(
pobj
);
opResult
=
await
this
.
utilsOrderSve
.
getOrdersStatisticsByUappId
(
pobj
);
break
;
break
;
case
"getOrderStatisticsByProduct"
:
case
"getOrderStatisticsByProduct"
:
opResult
=
await
this
.
utilsOrderSve
.
getOrdersStatisticsByProduct
(
pobj
);
opResult
=
await
this
.
utilsOrderSve
.
getOrdersComparison
(
pobj
);
break
;
case
"getOrdersComparison"
:
opResult
=
await
this
.
utilsOrderSve
.
getOrdersComparison
(
pobj
);
break
;
break
;
case
"getOrderDetails"
:
//获取订单详情信息
case
"getOrderDetails"
:
//获取订单详情信息
opResult
=
await
this
.
utilsOrderSve
.
getOrderDetails
(
pobj
,
pobj
.
actionBody
);
opResult
=
await
this
.
utilsOrderSve
.
getOrderDetails
(
pobj
,
pobj
.
actionBody
);
...
...
center-channel/app/base/service/impl/utilsSve/utilsOpNeedSve.js
View file @
30da474a
...
@@ -406,6 +406,20 @@ class UtilsOpNeedService extends AppServiceBase {
...
@@ -406,6 +406,20 @@ class UtilsOpNeedService extends AppServiceBase {
}
}
/**
/**
* 需求量对比
* @param pobj
* @returns {Promise<void>}
*/
async
getNeedComparison
(
pobj
){
let
url
=
this
.
centerOrderUrl
+
"action/opNeed/springBoard"
;
let
result
=
await
this
.
restPostUrl
(
pobj
,
url
);
if
(
result
.
status
!=
0
){
return
system
.
getResultFail
(
-
1
);
}
return
result
;
}
/**
* 需求统计(地区维度)
* 需求统计(地区维度)
* @param pobj
* @param pobj
* @returns {Promise<void>}
* @returns {Promise<void>}
...
...
center-channel/app/base/service/impl/utilsSve/utilsOrderSve.js
View file @
30da474a
...
@@ -256,6 +256,20 @@ class UtilsOrderService extends AppServiceBase {
...
@@ -256,6 +256,20 @@ class UtilsOrderService extends AppServiceBase {
return
system
.
getResultSuccess
(
reArr
);
return
system
.
getResultSuccess
(
reArr
);
}
}
/**
* 订单数量对比
* @param pobj
* @returns {Promise<void>}
*/
async
getOrdersComparison
(
pobj
){
let
url
=
this
.
centerOrderUrl
+
"action/order/springBoard"
;
let
result
=
await
this
.
restPostUrl
(
pobj
,
url
);
if
(
result
.
status
!=
0
){
return
system
.
getResultFail
(
-
1
);
}
return
result
;
}
async
getOrderDetails
(
pobj
,
actionBody
)
{
async
getOrderDetails
(
pobj
,
actionBody
)
{
var
reqUrl
=
this
.
centerOrderUrl
+
"action/order/springBoard"
;
var
reqUrl
=
this
.
centerOrderUrl
+
"action/order/springBoard"
;
var
result
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
var
result
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
...
...
center-channel/app/config/businessConfig.js
View file @
30da474a
...
@@ -17,7 +17,7 @@ module.exports = {
...
@@ -17,7 +17,7 @@ module.exports = {
"ncSubmitMaterial"
,
"ncNotification"
,
"ncSubmitSolution"
,
"ncCloseNeed"
,
"ncClosePlan"
,
"ncSubmitMaterial"
,
"ncNotification"
,
"ncSubmitSolution"
,
"ncCloseNeed"
,
"ncClosePlan"
,
"rtSubmitMaterial"
,
"rtNotification"
,
"rtSubmitSolution"
,
"rtCloseNeed"
,
"rtClosePlan"
,
"rtSubmitMaterial"
,
"rtNotification"
,
"rtSubmitSolution"
,
"rtCloseNeed"
,
"rtClosePlan"
,
"getParamsFor360"
,
"addOrderWeb"
,
"getPayRecords"
,
"getLoginInfo"
,
"putUserMobileByVcode"
,
"getParamsFor360"
,
"addOrderWeb"
,
"getPayRecords"
,
"getLoginInfo"
,
"putUserMobileByVcode"
,
"putUserPwdByMobile"
,
"icpNotifyNew"
,
"getOrderStatisticsByUappId"
,
"getOrderStatisticsByProduct"
,
"putUserPwdByMobile"
,
"icpNotifyNew"
,
"getOrderStatisticsByUappId"
,
"getOrderStatisticsByProduct"
,
"getOrdersComparison"
,
//百度工商注册
//百度工商注册
"regGetInfoByChannelNeedNo"
,
"submitRegNeed"
,
"regFeedbackSubmit"
,
"regOrderStatus"
,
"regOrderClose"
,
"regGetInfoByChannelNeedNo"
,
"submitRegNeed"
,
"regFeedbackSubmit"
,
"regOrderStatus"
,
"regOrderClose"
,
"getSolutionByChannelOrderNo"
,
"regSubmitSolution"
,
"regNeedClose"
,
"getSolutionByChannelOrderNo"
,
"regSubmitSolution"
,
"regNeedClose"
,
...
...
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