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
aa5dea7e
Commit
aa5dea7e
authored
Aug 12, 2020
by
wkliang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
04bf6a69
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
67 additions
and
12 deletions
+67
-12
center-channel/app/base/api/impl/zzzd/zzzd.js
+0
-0
center-channel/app/base/service/impl/utilsSve/utilsDiagnosisSve.js
+33
-11
center-channel/app/config/routes/api.js
+1
-1
center-channel/app/front/entry/public/apidoc/platform/zzzd.md
+33
-0
No files found.
center-channel/app/base/api/impl/zzzd/zzzd.js
View file @
aa5dea7e
This diff is collapsed.
Click to expand it.
center-channel/app/base/service/impl/utilsSve/utilsDiagnosisSve.js
View file @
aa5dea7e
...
...
@@ -6,7 +6,7 @@ const { json } = require("sequelize");
// 2020 0807 lin 新增 诊断宝相关
// 接口文档地址:
class
UtilsDiagnosisService
extends
AppServiceBase
{
constructor
()
{
constructor
()
{
super
();
this
.
centerOrderUrl
=
settings
.
centerOrderUrl
();
}
...
...
@@ -16,9 +16,9 @@ class UtilsDiagnosisService extends AppServiceBase {
* @param {*} pobj
* @param {*} actionBody
*/
async
manualEvaluation
(
pobj
,
actionBody
)
{
async
manualEvaluation
(
pobj
,
actionBody
)
{
var
reqUrl
=
this
.
centerOrderUrl
+
"action/diagnosis/springBoard"
;
var
manualEvaluationResult
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
var
manualEvaluationResult
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
return
manualEvaluationResult
;
}
/**
...
...
@@ -26,9 +26,9 @@ class UtilsDiagnosisService extends AppServiceBase {
* @param {*} pobj
* @param {*} actionBody
*/
async
diagnosisInfo
(
pobj
,
actionBody
)
{
async
diagnosisInfo
(
pobj
,
actionBody
)
{
var
reqUrl
=
this
.
centerOrderUrl
+
"action/diagnosis/springBoard"
;
var
diagnosisInfoResult
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
var
diagnosisInfoResult
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
return
diagnosisInfoResult
;
}
/**
...
...
@@ -36,9 +36,9 @@ class UtilsDiagnosisService extends AppServiceBase {
* @param {*} pobj
* @param {*} actionBody
*/
async
enterpriseInfo
(
pobj
,
actionBody
)
{
async
enterpriseInfo
(
pobj
,
actionBody
)
{
var
reqUrl
=
this
.
centerOrderUrl
+
"action/diagnosis/springBoard"
;
var
enterpriseInfoResult
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
var
enterpriseInfoResult
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
return
enterpriseInfoResult
;
}
/**
...
...
@@ -46,9 +46,9 @@ class UtilsDiagnosisService extends AppServiceBase {
* @param {*} pobj
* @param {*} actionBody
*/
async
needInfo
(
pobj
,
actionBody
)
{
async
needInfo
(
pobj
,
actionBody
)
{
var
reqUrl
=
this
.
centerOrderUrl
+
"action/diagnosis/springBoard"
;
var
enterpriseInfoResult
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
var
enterpriseInfoResult
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
return
enterpriseInfoResult
;
}
/**
...
...
@@ -56,9 +56,31 @@ class UtilsDiagnosisService extends AppServiceBase {
* @param {*} pobj
* @param {*} actionBody
*/
async
needDetail
(
pobj
,
actionBody
)
{
async
needDetail
(
pobj
,
actionBody
)
{
var
reqUrl
=
this
.
centerOrderUrl
+
"action/diagnosis/springBoard"
;
var
enterpriseInfoResult
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
var
enterpriseInfoResult
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
return
enterpriseInfoResult
;
}
/**
* @description
* @author liangwk
* @param {*} pobj
* @param {*} actionBody
* @param {*} req
* @returns
* @memberof UtilsDiagnosisService
*/
async
opNeedList
(
pobj
)
{
var
reqUrl
=
this
.
centerOrderUrl
+
"action/diagnosis/springBoard"
;
var
enterpriseInfoResult
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
return
enterpriseInfoResult
;
}
async
getItemByNeedNo
(
pobj
)
{
var
reqUrl
=
this
.
centerOrderUrl
+
"action/diagnosis/springBoard"
;
var
enterpriseInfoResult
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
return
enterpriseInfoResult
;
}
}
...
...
center-channel/app/config/routes/api.js
View file @
aa5dea7e
...
...
@@ -244,7 +244,7 @@ module.exports = function (app) {
"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"
,
"manualEvaluation"
"manualEvaluation"
,
'getNeedListUser'
];
if
(
lst
.
indexOf
(
req
.
body
.
actionType
)
>=
0
)
{
var
userpin
=
req
.
headers
[
"userpin"
]
||
""
;
...
...
center-channel/app/front/entry/public/apidoc/platform/zzzd.md
View file @
aa5dea7e
...
...
@@ -3,6 +3,8 @@
2.
[
人工评估-开始入职评估
](
#manualEvaluation
)
3.
[
个人中心-诊断列表
](
#diagnosisInfo
)
4.
[
个人中心-企业信息
](
#enterpriseInfo
)
5.
[
需求列表
](
#getNeedListUser
)
6.
[
需求详情
](
#getNeedDetail
)
## **<a name="uploadBusiness"> 四要素诊断</a>**
[
返回到目录
](
#menu
)
...
...
@@ -145,3 +147,33 @@
"requestId"
:
"837ea5c284074d568fa198f7f259088a"
}
```
## **<a name="getNeedListUser"> 需求列表</a>**
[
返回到目录
](
#menu
)
##### URL
[
/web/zzzd/zzzd/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:enterpriseInfo
```
javascript
{
"status"
:
"状态"
,
// 目前枚举和原型不同 不建议筛选
"needNo"
:
""
,
// 需求单号
"publishName"
:
""
,
// 联系人姓名
"publishMobile"
:
""
,
// 联系人电话
"updatedAt"
:
[],
// 更新时间 两个日期
"pageNo"
:
1
,
// 页数
"pageSize"
:
10
// 每页条数
}
```
#### 返回结果
```
javascript
// 等待填写
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:
null
,
"requestId"
:
"837ea5c284074d568fa198f7f259088a"
}
```
\ No newline at end of file
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