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
1e341aa5
Commit
1e341aa5
authored
Aug 12, 2020
by
wkliang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'center-channel' of gitlab.gongsibao.com:jiangyong/zhichan into center-channel
parents
213593b8
73d292ec
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
81 additions
and
2 deletions
+81
-2
center-channel/app/base/api/impl/zzzd/zzzd.js
+11
-0
center-channel/app/base/service/impl/utilsSve/utilsDiagnosisSve.js
+67
-0
center-channel/app/config/routes/api.js
+2
-1
center-channel/app/front/entry/public/apidoc/platform/zzzd.md
+1
-1
No files found.
center-channel/app/base/api/impl/zzzd/zzzd.js
View file @
1e341aa5
...
...
@@ -16,6 +16,7 @@ class Zzzd extends WEBBase {
"recommendationBusiness"
:
"/gsb/api/recommendation_business"
,
//立即查看结果
"phoneNumber"
:
"/gsb/api/phone_number"
,
//免费咨询
}
this
.
utilsDiagnosisSve
=
system
.
getObject
(
"service.utilsSve.utilsDiagnosisSve"
);
}
/**
* 接口跳转-POST请求
...
...
@@ -194,6 +195,16 @@ class Zzzd extends WEBBase {
// 返回四要素请求结果
return
system
.
getResultSuccess
();
// 2020 0811 lin 新增 诊断宝相关
case
"manualEvaluation"
:
opResult
=
await
this
.
utilsDiagnosisSve
.
manualEvaluation
(
pobj
,
pobj
.
actionBody
);
break
;
case
"diagnosisInfo"
:
opResult
=
await
this
.
utilsDiagnosisSve
.
diagnosisInfo
(
pobj
,
pobj
.
actionBody
);
break
;
case
"enterpriseInfo"
:
opResult
=
await
this
.
utilsDiagnosisSve
.
enterpriseInfo
(
pobj
,
pobj
.
actionBody
);
break
;
default
:
opResult
=
system
.
getResult
(
null
,
"action_type参数错误"
);
break
;
...
...
center-channel/app/base/service/impl/utilsSve/utilsDiagnosisSve.js
0 → 100644
View file @
1e341aa5
var
system
=
require
(
"../../../system"
);
var
settings
=
require
(
"../../../../config/settings"
);
const
AppServiceBase
=
require
(
"../../app.base"
);
const
fs
=
require
(
"fs"
);
const
{
json
}
=
require
(
"sequelize"
);
// 2020 0807 lin 新增 诊断宝相关
// 接口文档地址:
class
UtilsDiagnosisService
extends
AppServiceBase
{
constructor
()
{
super
();
this
.
centerOrderUrl
=
settings
.
centerOrderUrl
();
}
/**
* 2020 0811 lin 诊断宝人工评估-开始入驻评估
* @param {*} pobj
* @param {*} actionBody
*/
async
manualEvaluation
(
pobj
,
actionBody
)
{
var
reqUrl
=
this
.
centerOrderUrl
+
"action/diagnosis/springBoard"
;
var
manualEvaluationResult
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
return
manualEvaluationResult
;
}
/**
* 2020 0811 lin 个人中心-诊断列表
* @param {*} pobj
* @param {*} actionBody
*/
async
diagnosisInfo
(
pobj
,
actionBody
)
{
var
reqUrl
=
this
.
centerOrderUrl
+
"action/diagnosis/springBoard"
;
var
diagnosisInfoResult
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
return
diagnosisInfoResult
;
}
/**
* 2020 0811 lin 个人中心企业信息
* @param {*} pobj
* @param {*} actionBody
*/
async
enterpriseInfo
(
pobj
,
actionBody
)
{
var
reqUrl
=
this
.
centerOrderUrl
+
"action/diagnosis/springBoard"
;
var
enterpriseInfoResult
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
return
enterpriseInfoResult
;
}
/**
* 2020 0811 lin 需求列表
* @param {*} pobj
* @param {*} actionBody
*/
async
needInfo
(
pobj
,
actionBody
)
{
var
reqUrl
=
this
.
centerOrderUrl
+
"action/diagnosis/springBoard"
;
var
enterpriseInfoResult
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
return
enterpriseInfoResult
;
}
/**
* 2020 0811 lin 需求详情
* @param {*} pobj
* @param {*} actionBody
*/
async
needDetail
(
pobj
,
actionBody
)
{
var
reqUrl
=
this
.
centerOrderUrl
+
"action/diagnosis/springBoard"
;
var
enterpriseInfoResult
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
return
enterpriseInfoResult
;
}
}
module
.
exports
=
UtilsDiagnosisService
;
center-channel/app/config/routes/api.js
View file @
1e341aa5
...
...
@@ -243,7 +243,8 @@ module.exports = function (app) {
"getOrderDeliveryFlowInfo"
,
"getOrderDeliveryFlowList"
,
"getOrderLogInfo"
,
"updateContacts"
,
"updateTmOrder"
,
"delOrder"
,
"submitProgramme"
,
"getProgrammeListByUser"
,
"getProgrammeInfoByNeedNo"
,
"abolishProgramme"
,
"getAliPayInfo"
,
"getPaidLogoListByUser"
,
"getCollectibleLogoListByUser"
,
"collectLogo"
,
"getLogoMaterial"
,
"cancelCollectLogo"
,
"icpNotify"
,
"createName"
,
"getNameDetail"
,
"orderConfirm"
,
"orderTotalSum"
,
"collect"
,
"reg"
,
"orderCheck"
,
"getReOrderList"
,
"getOfficalList"
,
"addReviewList"
,
"opSubmitNeed"
,
"opNeedClose"
,
"opNeedList"
,
"opNeedDetailByChannelNo"
"orderTotalSum"
,
"collect"
,
"reg"
,
"orderCheck"
,
"getReOrderList"
,
"getOfficalList"
,
"addReviewList"
,
"opSubmitNeed"
,
"opNeedClose"
,
"opNeedList"
,
"opNeedDetailByChannelNo"
,
"manualEvaluation"
];
if
(
lst
.
indexOf
(
req
.
body
.
actionType
)
>=
0
)
{
var
userpin
=
req
.
headers
[
"userpin"
]
||
""
;
...
...
center-channel/app/front/entry/public/apidoc/platform/zzzd.md
View file @
1e341aa5
...
...
@@ -37,7 +37,7 @@
}
```
## **<a name="manualEvaluation"> 人工评估-开始入
职
评估</a>**
## **<a name="manualEvaluation"> 人工评估-开始入
驻
评估</a>**
[
返回到目录
](
#menu
)
##### URL
[
/web/zzzd/zzzd/springBoard
]
...
...
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