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
3fc6ba57
Commit
3fc6ba57
authored
Aug 12, 2020
by
宋毅
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'center-channel' of gitlab.gongsibao.com:jiangyong/zhichan into center-channel
parents
adaf27bb
5ae23020
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
519 additions
and
28 deletions
+519
-28
center-channel/app/base/api/impl/action/askFor.js
+0
-1
center-channel/app/base/api/impl/action/opNeed.js
+5
-0
center-channel/app/base/api/impl/zzzd/diagnosisneedbus.js
+42
-0
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/base/service/impl/utilsSve/utilsNdbSve.js
+26
-0
center-channel/app/base/service/impl/utilsSve/utilsOpNeedSve.js
+14
-7
center-channel/app/config/routes/api.js
+2
-1
center-channel/app/front/entry/public/apidoc/README.md
+4
-0
center-channel/app/front/entry/public/apidoc/appDesc/diagnosisneedbusDesc.md
+172
-0
center-channel/app/front/entry/public/apidoc/platform/opNeed.md
+175
-18
center-channel/app/front/entry/public/apidoc/platform/zzzd.md
+1
-1
No files found.
center-channel/app/base/api/impl/action/askFor.js
View file @
3fc6ba57
...
@@ -18,7 +18,6 @@ class askFor extends WEBBase {
...
@@ -18,7 +18,6 @@ class askFor extends WEBBase {
* @memberof askFor
* @memberof askFor
*/
*/
async
tradeMark
(
pobj
,
qobj
,
req
)
{
async
tradeMark
(
pobj
,
qobj
,
req
)
{
switch
(
pobj
.
actionType
)
{
switch
(
pobj
.
actionType
)
{
case
'niceQuery'
:
case
'niceQuery'
:
const
param
=
pobj
.
actionBody
const
param
=
pobj
.
actionBody
...
...
center-channel/app/base/api/impl/action/opNeed.js
View file @
3fc6ba57
...
@@ -40,6 +40,11 @@ class OpNeed extends APIBase {
...
@@ -40,6 +40,11 @@ class OpNeed extends APIBase {
case
"opNeedDetailByChannelNo"
:
//需求详情--包含方案
case
"opNeedDetailByChannelNo"
:
//需求详情--包含方案
opResult
=
await
this
.
utilsOpNeedSve
.
opNeedDetailByChannelNo
(
pobj
,
pobj
.
actionBody
);
opResult
=
await
this
.
utilsOpNeedSve
.
opNeedDetailByChannelNo
(
pobj
,
pobj
.
actionBody
);
break
;
break
;
case
"getItemByNeedNo"
:
//需求详情
opResult
=
await
this
.
utilsOpNeedSve
.
getItemByNeedNo
(
pobj
,
pobj
.
actionBody
);
break
;
// case "getItemByChannelNeedNo"://方案反馈
// case "getItemByChannelNeedNo"://方案反馈
// opResult = await this.utilsOpNeedSve.getItemByChannelNeedNo(pobj, pobj.actionBody);
// opResult = await this.utilsOpNeedSve.getItemByChannelNeedNo(pobj, pobj.actionBody);
// break;
// break;
...
...
center-channel/app/base/api/impl/zzzd/diagnosisneedbus.js
0 → 100644
View file @
3fc6ba57
var
WEBBase
=
require
(
"../../web.base"
);
var
system
=
require
(
"../../../system"
);
class
diagnosisNeedBus
extends
WEBBase
{
constructor
()
{
super
();
this
.
unSve
=
system
.
getObject
(
'service.utilsSve.utilsNdbSve'
)
}
async
springBoard
(
pobj
,
qobj
,
req
)
{
var
result
=
await
this
.
opActionProcess
(
pobj
,
pobj
.
actionType
,
req
);
return
result
;
}
async
opActionProcess
(
pobj
,
action_type
,
req
)
{
var
opResult
=
null
;
switch
(
action_type
)
{
case
"test"
:
//测试
opResult
=
system
.
getResultSuccess
(
null
,
"测试成功"
);
break
;
case
"getDnList"
:
// 精确检索
opResult
=
await
this
.
unSve
.
getList
(
pobj
);
break
;
case
'getDnListPending'
:
// 获取详情
pobj
.
actionBody
.
status
=
'dcl'
opResult
=
await
this
.
unSve
.
getList
(
pobj
);
break
;
case
'getDnDetail'
:
// 获取列表
opResult
=
await
this
.
unSve
.
getDetail
(
pobj
);
break
;
case
'doDnEAV'
:
opResult
=
await
this
.
unSve
.
doEAV
(
pobj
);
break
;
default
:
opResult
=
system
.
getResult
(
null
,
"actionType参数错误"
);
break
;
}
return
opResult
;
}
}
module
.
exports
=
diagnosisNeedBus
;
\ No newline at end of file
center-channel/app/base/api/impl/zzzd/zzzd.js
View file @
3fc6ba57
...
@@ -16,6 +16,7 @@ class Zzzd extends WEBBase {
...
@@ -16,6 +16,7 @@ class Zzzd extends WEBBase {
"recommendationBusiness"
:
"/gsb/api/recommendation_business"
,
//立即查看结果
"recommendationBusiness"
:
"/gsb/api/recommendation_business"
,
//立即查看结果
"phoneNumber"
:
"/gsb/api/phone_number"
,
//免费咨询
"phoneNumber"
:
"/gsb/api/phone_number"
,
//免费咨询
}
}
this
.
utilsDiagnosisSve
=
system
.
getObject
(
"service.utilsSve.utilsDiagnosisSve"
);
}
}
/**
/**
* 接口跳转-POST请求
* 接口跳转-POST请求
...
@@ -194,6 +195,16 @@ class Zzzd extends WEBBase {
...
@@ -194,6 +195,16 @@ class Zzzd extends WEBBase {
// 返回四要素请求结果
// 返回四要素请求结果
return
system
.
getResultSuccess
();
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
:
default
:
opResult
=
system
.
getResult
(
null
,
"action_type参数错误"
);
opResult
=
system
.
getResult
(
null
,
"action_type参数错误"
);
break
;
break
;
...
...
center-channel/app/base/service/impl/utilsSve/utilsDiagnosisSve.js
0 → 100644
View file @
3fc6ba57
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 个人中心企业信息111
* @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/base/service/impl/utilsSve/utilsNdbSve.js
0 → 100644
View file @
3fc6ba57
const
System
=
require
(
"../../../system"
);
var
settings
=
require
(
"../../../../config/settings"
);
const
AppServiceBase
=
require
(
"../../app.base"
);
class
FblicenseService
extends
AppServiceBase
{
constructor
()
{
super
();
this
.
centerOrderUrl
=
settings
.
centerOrderUrl
()
this
.
restClient
=
System
.
getObject
(
"util.restClient"
)
};
async
getList
(
data
)
{
try
{
let
url
=
`
${
this
.
centerOrderUrl
}
action/diagnosisneedbus/springBoard`
console
.
log
(
url
)
data
.
actionType
=
'getList'
let
result
=
await
this
.
restClient
.
execPost
(
data
,
url
)
return
result
}
catch
(
error
)
{
return
{
code
:
-
1
,
msg
:
error
.
message
||
'failed'
,
}
}
}
}
module
.
exports
=
FblicenseService
;
center-channel/app/base/service/impl/utilsSve/utilsOpNeedSve.js
View file @
3fc6ba57
...
@@ -24,10 +24,11 @@ class UtilsOpNeedService extends AppServiceBase {
...
@@ -24,10 +24,11 @@ class UtilsOpNeedService extends AppServiceBase {
*/
*/
async
opSubmitNeed
(
pobj
,
actionBody
)
{
async
opSubmitNeed
(
pobj
,
actionBody
)
{
var
sobj
=
pobj
;
var
sobj
=
pobj
;
if
(
actionBody
.
type
)
{
// 获取商品类型
// 获取商品类型
sobj
.
actionType
=
"getProductTypeInfo"
;
sobj
.
actionType
=
"getProductTypeInfo"
;
var
url
=
settings
.
centerAppUrl
()
+
"action/opProduct/springBoard"
;
var
url
=
settings
.
centerAppUrl
()
+
"action/opProduct/springBoard"
;
var
opResult
=
await
this
.
restPostUrl
(
sobj
,
url
);
var
opResult
=
await
this
.
restPostUrl
(
sobj
,
url
);
if
(
opResult
.
status
!=
0
)
{
if
(
opResult
.
status
!=
0
)
{
return
system
.
getResultFail
(
-
5015
,
"需求类型查询失败"
);
return
system
.
getResultFail
(
-
5015
,
"需求类型查询失败"
);
}
}
...
@@ -35,6 +36,7 @@ class UtilsOpNeedService extends AppServiceBase {
...
@@ -35,6 +36,7 @@ class UtilsOpNeedService extends AppServiceBase {
pobj
.
actionBody
.
type_name
=
opResult
.
data
.
type_name
;
pobj
.
actionBody
.
type_name
=
opResult
.
data
.
type_name
;
pobj
.
actionBody
.
channel_type_code
=
opResult
.
data
.
channel_type_code
;
pobj
.
actionBody
.
channel_type_code
=
opResult
.
data
.
channel_type_code
;
pobj
.
actionBody
.
channel_type_name
=
opResult
.
data
.
channel_type_name
;
pobj
.
actionBody
.
channel_type_name
=
opResult
.
data
.
channel_type_name
;
}
// 提交需求 暂未做推送
// 提交需求 暂未做推送
pobj
.
actionType
=
"opSubmitNeed"
;
pobj
.
actionType
=
"opSubmitNeed"
;
var
reqUrl
=
this
.
centerOrderUrl
+
"action/opNeed/springBoard"
;
var
reqUrl
=
this
.
centerOrderUrl
+
"action/opNeed/springBoard"
;
...
@@ -55,7 +57,7 @@ class UtilsOpNeedService extends AppServiceBase {
...
@@ -55,7 +57,7 @@ class UtilsOpNeedService extends AppServiceBase {
async
opNeedList
(
pobj
,
actionBody
)
{
async
opNeedList
(
pobj
,
actionBody
)
{
// 获取需求列表
// 获取需求列表
var
reqUrl
=
this
.
centerOrderUrl
+
"action/opNeed/springBoard"
;
var
reqUrl
=
this
.
centerOrderUrl
+
"action/opNeed/springBoard"
;
var
opNeedListResult
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
var
opNeedListResult
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
return
opNeedListResult
;
return
opNeedListResult
;
}
}
...
@@ -103,6 +105,13 @@ class UtilsOpNeedService extends AppServiceBase {
...
@@ -103,6 +105,13 @@ class UtilsOpNeedService extends AppServiceBase {
return
result
;
return
result
;
}
}
async
getNeedList
(
pobj
,
actionBody
){
// pobj.
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
;
...
@@ -287,12 +296,10 @@ class UtilsOpNeedService extends AppServiceBase {
...
@@ -287,12 +296,10 @@ class UtilsOpNeedService extends AppServiceBase {
}
}
return
jsonarr
;
return
jsonarr
;
}
}
// async test1() {
// var a = await this.aliclient.reqbyget({ action: "CloseIntention", reqbody: { BizId: "20200416125415000001", Note: "测试需求关闭" }, apiVersion: "2019-05-08" });
// async opNeedDetailByChannelNo(pobj, actionBody){
// console.log(a.data);
// return a;
// }
// }
}
}
module
.
exports
=
UtilsOpNeedService
;
module
.
exports
=
UtilsOpNeedService
;
...
...
center-channel/app/config/routes/api.js
View file @
3fc6ba57
...
@@ -243,7 +243,8 @@ module.exports = function (app) {
...
@@ -243,7 +243,8 @@ module.exports = function (app) {
"getOrderDeliveryFlowInfo"
,
"getOrderDeliveryFlowList"
,
"getOrderLogInfo"
,
"updateContacts"
,
"updateTmOrder"
,
"delOrder"
,
"getOrderDeliveryFlowInfo"
,
"getOrderDeliveryFlowList"
,
"getOrderLogInfo"
,
"updateContacts"
,
"updateTmOrder"
,
"delOrder"
,
"submitProgramme"
,
"getProgrammeListByUser"
,
"getProgrammeInfoByNeedNo"
,
"abolishProgramme"
,
"getAliPayInfo"
,
"submitProgramme"
,
"getProgrammeListByUser"
,
"getProgrammeInfoByNeedNo"
,
"abolishProgramme"
,
"getAliPayInfo"
,
"getPaidLogoListByUser"
,
"getCollectibleLogoListByUser"
,
"collectLogo"
,
"getLogoMaterial"
,
"cancelCollectLogo"
,
"icpNotify"
,
"createName"
,
"getNameDetail"
,
"orderConfirm"
,
"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
)
{
if
(
lst
.
indexOf
(
req
.
body
.
actionType
)
>=
0
)
{
var
userpin
=
req
.
headers
[
"userpin"
]
||
""
;
var
userpin
=
req
.
headers
[
"userpin"
]
||
""
;
...
...
center-channel/app/front/entry/public/apidoc/README.md
View file @
3fc6ba57
...
@@ -63,3 +63,6 @@
...
@@ -63,3 +63,6 @@
## 20. 需求
## 20. 需求
1
[
需求相关接口
](
doc/api/platform/opNeed.md
)
1
[
需求相关接口
](
doc/api/platform/opNeed.md
)
## 21. 诊断运营端相关接口
1
[
诊断运营端相关接口
](
doc/api/appDesc/diagnosisneedbusDesc.md
)
\ No newline at end of file
center-channel/app/front/entry/public/apidoc/appDesc/diagnosisneedbusDesc.md
0 → 100644
View file @
3fc6ba57
<a
name=
"menu"
href=
"/doc"
>
返回主目录
</a>
1.
[
精确检索
](
#getDnList
)
2.
[
获取列表
](
#getDnListPending
)
3.
[
获取详情
](
#getDnDetail
)
4.
[
认证
](
#doDnEAV
)
## **<a name="getDnList"> 获取全部诊断单列表</a>**
[
返回到目录
](
#menu
)
<a
name=
"menu"
href=
"/doc"
>
返回主目录
</a>
##### URL
[
/web/zzzd/diagnosisneedbus/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:getDnList
```
javascript
{
"diagnosis_no"
:
"申请编号"
,
"publish_name"
:
"联系人名称"
,
"publish_mobile"
:
"联系人电话"
,
"corporate_type"
:
"店铺类型"
,
"status"
:
"状态"
,
"updated_at"
:
"更新时间"
,
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:
{
"count"
:
1
,
"rows"
:
[
{
"id"
:
10
,
"diagnosis_no"
:
"N2020081211076qlz86H"
,
"corporate_type"
:
"qjd"
,
"corporate_type_name"
:
"旗舰店"
,
"corporate_name"
:
"林氏集团"
,
"publish_name"
:
null
,
"publish_mobile"
:
"13911391996"
,
"status"
:
"dcl"
,
"status_name"
:
"待处理"
}
],
"requestId"
:
"ad648f41e2df471f99834e782ea993d6"
},
"requestId"
:
"c0dbbd7ba07c4a63899b672816c2276e"
}
```
## **<a name="getDnListPending"> 获取待处理诊断单列表</a>**
[
返回到目录
](
#menu
)
<a
name=
"menu"
href=
"/doc"
>
返回主目录
</a>
##### URL
[
/web/zzzd/diagnosisneedbus/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:getDnListPending
```
javascript
{
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:
{
"count"
:
1
,
"rows"
:
[
{
"id"
:
10
,
"diagnosis_no"
:
"N2020081211076qlz86H"
,
"corporate_type"
:
"qjd"
,
"corporate_type_name"
:
"旗舰店"
,
"corporate_name"
:
"林氏集团"
,
"publish_name"
:
null
,
"publish_mobile"
:
"13911391996"
,
"status"
:
"dcl"
,
"status_name"
:
"待处理"
}
],
"requestId"
:
"ad648f41e2df471f99834e782ea993d6"
},
"requestId"
:
"c0dbbd7ba07c4a63899b672816c2276e"
}
```
## **<a name="getDnDetail"> 获取诊断单详情</a>**
[
返回到目录
](
#menu
)
<a
name=
"menu"
href=
"/doc"
>
返回主目录
</a>
##### URL
[
/web/zzzd/diagnosisneedbus/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:getDnListPending
```
javascript
{
"id"
:
0
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:
{
"count"
:
1
,
"rows"
:
[
{
"id"
:
10
,
"diagnosis_no"
:
"N2020081211076qlz86H"
,
"corporate_type"
:
"qjd"
,
"corporate_type_name"
:
"旗舰店"
,
"corporate_name"
:
"林氏集团"
,
"publish_name"
:
null
,
"publish_mobile"
:
"13911391996"
,
"status"
:
"dcl"
,
"status_name"
:
"待处理"
}
],
"requestId"
:
"ad648f41e2df471f99834e782ea993d6"
},
"requestId"
:
"c0dbbd7ba07c4a63899b672816c2276e"
}
```
## **<a name="doDnEAV"> 认证</a>**
[
返回到目录
](
#menu
)
<a
name=
"menu"
href=
"/doc"
>
返回主目录
</a>
##### URL
[
/web/zzzd/diagnosisneedbus/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:doDnEAV
```
javascript
{
"id"
:
0
,
"diagnosisResult"
:
"诊断结果"
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:
{
"count"
:
1
,
"rows"
:
[
{
"id"
:
10
,
"diagnosis_no"
:
"N2020081211076qlz86H"
,
"corporate_type"
:
"qjd"
,
"corporate_type_name"
:
"旗舰店"
,
"corporate_name"
:
"林氏集团"
,
"publish_name"
:
null
,
"publish_mobile"
:
"13911391996"
,
"status"
:
"dcl"
,
"status_name"
:
"待处理"
}
],
"requestId"
:
"ad648f41e2df471f99834e782ea993d6"
},
"requestId"
:
"c0dbbd7ba07c4a63899b672816c2276e"
}
```
\ No newline at end of file
center-channel/app/front/entry/public/apidoc/platform/opNeed.md
View file @
3fc6ba57
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
1.
[
下需求
](
#opSubmitNeed
)
1.
[
下需求
](
#opSubmitNeed
)
2.
[
需求关闭
](
#opNeedClose
)
2.
[
需求关闭
](
#opNeedClose
)
3.
[
需求列表
](
#opNeedList
)
3.
[
需求列表
](
#opNeedList
)
4.
[
需求详情
](
#getItemByNeedNo
)
## **<a name="opSubmitNeed"> 下需求</a>**
## **<a name="opSubmitNeed"> 下需求</a>**
[
返回到目录
](
#menu
)
[
返回到目录
](
#menu
)
...
@@ -10,24 +11,43 @@
...
@@ -10,24 +11,43 @@
#### 参数格式 `JSON`
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:opSubmitNeed
#### 渠道执行的类型 actionType:opSubmitNeed
|参数名 | 必须 | 字段类型 | 说明 |
| ---- | ---- | ---- | ---- |
|userName | Y | string | 用户名称 |
|area | N | string | 地区名称 |
|description | Y | string | 备注 |
|mobile | Y | string | 用户电话 |
|type | Y | int | 产品类型 |
```
javascript
```
javascript
{
{
"actionType"
:
"opSubmitNeed"
,
"actionBody"
:{
"area"
:
"北京市-北京市-大兴区"
,
"area"
:
"北京市-北京市-大兴区"
,
"description"
:
"公司注册 - "
,
"description"
:
"公司注册 - "
,
"mobile"
:
"13911391996"
,
"mobile"
:
"13911391996"
,
"type"
:
"gszc"
,
"type"
:
"gszc"
,
"userName"
:
""
"userName"
:
""
}
}
}
```
```
|参数名 | 字段类型 | 说明 |
| ---- | ---- | ---- |
|needNo | string | 需求号 |
#### 返回结果
#### 返回结果
```
javascript
```
javascript
{
{
"status"
:
0
,
"status"
:
0
,
"msg"
:
"success"
,
"msg"
:
"success"
,
"data"
:
null
,
"data"
:
{
"requestId"
:
"d8ff1ec957e8473f863e79ad91440c60"
"needNo"
:
"N202008120920C5NEHz9"
,
}
},
"requestId"
:
"5579e010573b430ebf4b456156061081"
}
```
```
## **<a name="opNeedClose"> 需求关闭</a>**
## **<a name="opNeedClose"> 需求关闭</a>**
...
@@ -37,11 +57,20 @@
...
@@ -37,11 +57,20 @@
#### 参数格式 `JSON`
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:opNeedClose
#### 渠道执行的类型 actionType:opNeedClose
|参数名 | 必须 | 字段类型 | 说明 |
| ---- | ---- | ---- | ---- |
|needNo | Y | string | 需求号|
|note | N | string | 备注|
```
javascript
```
javascript
{
{
"needNo"
:
"N202008081803V5zoAk4"
,
// 必填
"actionType"
:
"opNeedClose"
,
"note"
:
"不想买了"
// 必填
"actionBody"
:{
"needNo"
:
"N202008120920C5NEHz9"
,
"note"
:
"不想买了"
}
}
}
```
```
#### 返回结果
#### 返回结果
...
@@ -61,10 +90,24 @@
...
@@ -61,10 +90,24 @@
#### 参数格式 `JSON`
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:opNeedList
#### 渠道执行的类型 actionType:opNeedList
| 参数名 | 必填 | 类型 | 描述 |
| ---- | ---- | ---- | ---- |
| pageNumber | 否 | string | 页码 |
| pageSize | 否 | string | 页面大小 |
| status | 否 | string | 状态 |
| consultType | 否 | string | 需求类型 |
```
javascript
```
javascript
{
{
// 时间段,分页,排序,需求状态 条件展示未做
"actionType"
:
"opNeedList"
,
"actionBody"
:{
"pageNumber"
:
"1"
,
"pageSize"
:
"10"
,
"consultType"
:
"gszc"
}
}
}
```
```
#### 返回结果
#### 返回结果
...
@@ -72,20 +115,134 @@
...
@@ -72,20 +115,134 @@
// 返回字段需要根据原型来做,目前只返回基础数据
// 返回字段需要根据原型来做,目前只返回基础数据
{
{
"status"
:
0
,
"status"
:
0
,
"msg"
:
"操作成功"
,
"msg"
:
"success"
,
"data"
:
[
"data"
:
{
"count"
:
2
,
"rows"
:
[
{
{
"needNo"
:
"N202008081803V5zoAk4"
,
"id"
:
2846
,
"status"
:
"ygb"
,
"uapp_id"
:
22
,
"statusName"
:
"已关闭"
"channelNeedNo"
:
"N202008111937PK2R1ld"
,
"needNo"
:
"N202008111937PK2R1ld"
,
"channelUserId"
:
"15010929366"
,
"publishName"
:
""
,
"publisherOnlyCode"
:
null
,
"publishContent"
:
"公司注册 - "
,
"publishMobile"
:
"13911391996"
,
"followManUserId"
:
null
,
"followManName"
:
null
,
"followManMobile"
:
null
,
"followManOnlyCode"
:
null
,
"followContent"
:
null
,
"productOneType_id"
:
null
,
"productType_id"
:
null
,
"notes"
:
null
,
"disposeNotes"
:
null
,
"statusName"
:
"未推送"
,
"status"
:
"wts"
,
"city"
:
"北京市-北京市-大兴区"
,
"province"
:
null
,
"typeCode"
:
"gszc"
,
"typeName"
:
"公司注册"
,
"channelTypeCode"
:
"gszc"
,
"channelTypeName"
:
"公司注册"
,
"created_at"
:
"2020-08-11T11:37:48.000Z"
,
"updated_at"
:
"2020-08-11T11:37:48.000Z"
,
"deleted_at"
:
null
,
"version"
:
0
},
},
{
{
"needNo"
:
"N202008081637iFxoxrE"
,
"id"
:
2845
,
"uapp_id"
:
22
,
"channelNeedNo"
:
"N202008111825jPFPjyw"
,
"needNo"
:
"N202008111825jPFPjyw"
,
"channelUserId"
:
"15010929366"
,
"publishName"
:
""
,
"publisherOnlyCode"
:
null
,
"publishContent"
:
"公司注册 - "
,
"publishMobile"
:
"13911391996"
,
"followManUserId"
:
null
,
"followManName"
:
null
,
"followManMobile"
:
null
,
"followManOnlyCode"
:
null
,
"followContent"
:
null
,
"productOneType_id"
:
null
,
"productType_id"
:
null
,
"notes"
:
null
,
"disposeNotes"
:
null
,
"statusName"
:
"未推送"
,
"status"
:
"wts"
,
"status"
:
"wts"
,
"statusName"
:
"未推送"
"city"
:
"北京市-北京市-大兴区"
,
"province"
:
null
,
"typeCode"
:
"gszc"
,
"typeName"
:
"公司注册"
,
"channelTypeCode"
:
"gszc"
,
"channelTypeName"
:
"公司注册"
,
"created_at"
:
"2020-08-11T10:25:26.000Z"
,
"updated_at"
:
"2020-08-11T10:25:26.000Z"
,
"deleted_at"
:
null
,
"version"
:
0
}
}
],
]
"bizmsg"
:
"empty"
,
},
"requestId"
:
"c1e67d2f7eb7416b988f60ce0c93559b"
"requestId"
:
"ffe3d8ad5ea246bc81ee8d93c6bb0c6e"
}
```
## **<a name="opNeedList"> 需求详情</a>**
[
返回到目录
](
#menu
)
##### URL
[
/web/action/opNeed/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:getItemByNeedNo
| 参数名 | 必填 | 类型 | 描述 |
| ---- | ---- | ---- | ---- |
| needNo | 是 | string | 需求号 |
```
javascript
{
"actionType"
:
"getItemByNeedNo"
,
"actionBody"
:{
"needNo"
:
"N202008120920C5NEHz9"
}
}
}
```
#### 返回结果
```
javascript
// 返回字段需要根据原型来做,目前只返回基础数据
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:
{
"id"
:
2848
,
"uapp_id"
:
22
,
"needNo"
:
"N202008120920C5NEHz9"
,
"channelNeedNo"
:
"N202008120920C5NEHz9"
,
"channelUserId"
:
"15010929366"
,
"followManUserId"
:
null
,
"followManMobile"
:
null
,
"city"
:
"北京市-北京市-大兴区"
,
"province"
:
null
,
"publishContent"
:
"公司注册 - "
,
"publishName"
:
""
,
"publishMobile"
:
"13911391996"
,
"notes"
:
null
,
"followContent"
:
null
,
"disposeNotes"
:
null
,
"status"
:
"ygb"
,
"typeCode"
:
"gszc"
,
"typeName"
:
"公司注册"
,
"channelTypeCode"
:
"gszc"
,
"channelTypeName"
:
"公司注册"
,
"publisherOnlyCode"
:
null
,
"followManName"
:
null
,
"followManOnlyCode"
:
null
},
"requestId"
:
"b8c105d8015b4d1eb9fd3c016ca7b21f"
}
```
```
center-channel/app/front/entry/public/apidoc/platform/zzzd.md
View file @
3fc6ba57
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
}
}
```
```
## **<a name="manualEvaluation"> 人工评估-开始入
职
评估</a>**
## **<a name="manualEvaluation"> 人工评估-开始入
驻
评估</a>**
[
返回到目录
](
#menu
)
[
返回到目录
](
#menu
)
##### URL
##### URL
[
/web/zzzd/zzzd/springBoard
]
[
/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