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
e458f529
Commit
e458f529
authored
Sep 15, 2020
by
linboxuan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'center-channel' of
http://gitlab.gongsibao.com/jiangyong/zhichan
into center-channel
parents
fe02f685
e67fcf16
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
31 deletions
+29
-31
center-channel/app/base/service/impl/utilsSve/utilsNeedSve.js
+11
-13
center-channel/app/config/routes/doc.js
+18
-18
No files found.
center-channel/app/base/service/impl/utilsSve/utilsNeedSve.js
View file @
e458f529
...
...
@@ -457,21 +457,19 @@ class UtilsNeedService extends AppServiceBase {
status
:
"followingUp"
},
opType
:
"updateChanceStatus"
,
appInfo
:
pobj
.
appInfo
,
userInfo
:
pobj
.
userInfo
appInfo
:
pobj
.
appInfo
}
self
.
utilsPushSve
.
aliBusiness2Delivery
(
reqParams
,
"updateChanceStatus"
);
// var reqParams = {
// actionBody: {
// "bizId": pobj.actionBody.intentionBizId,
// "follow_date": (new Date()).toISOString(),
// "follow_content": pobj.actionBody.note
// },
// opType: "updateChanceStatus",
// appInfo: pobj.appInfo,
// userInfo: pobj.userInfo
// }
// self.utilsPushSve.aliBusiness2Fq(pobj, "pushCloseICPNeed");
var
fqobj
=
{
actionBody
:
{
"bizId"
:
pobj
.
actionBody
.
intentionBizId
,
"follow_date"
:
(
new
Date
()).
toISOString
(),
"follow_content"
:
pobj
.
actionBody
.
note
},
opType
:
"aliFollowup"
,
appInfo
:
pobj
.
appInfo
}
self
.
utilsPushSve
.
aliBusiness2Fq
(
fqobj
,
"aliFollowup"
);
return
system
.
getResultSuccess
();
}
...
...
center-channel/app/config/routes/doc.js
View file @
e458f529
...
...
@@ -6,14 +6,14 @@ var marked = require("marked");
module
.
exports
=
function
(
app
)
{
app
.
get
(
'/doc'
,
function
(
req
,
res
)
{
if
(
!
req
.
query
.
key
)
{
res
.
send
(
"文件不存在!!!"
);
return
;
}
if
(
req
.
query
.
key
!=
"doc12345789"
)
{
res
.
send
(
"文件不存在!!!!!!"
);
return
;
}
//
if (!req.query.key) {
//
res.send("文件不存在!!!");
//
return;
//
}
//
if (req.query.key != "doc12345789") {
//
res.send("文件不存在!!!!!!");
//
return;
//
}
var
path
=
process
.
cwd
()
+
"/app/front/entry/public/apidoc/README.md"
;
fs
.
readFile
(
path
,
function
(
err
,
data
)
{
if
(
err
)
{
...
...
@@ -43,16 +43,16 @@ module.exports = function (app) {
});
app
.
get
(
'/doc/api/:forder/:fileName'
,
function
(
req
,
res
)
{
if
(
req
.
url
!=
"/doc/api/platform/fgbusinesschance.md"
)
{
if
(
!
req
.
query
.
key
)
{
res
.
send
(
"文件不存在!!!"
);
return
;
}
if
(
req
.
query
.
key
!=
"doc12345789"
)
{
res
.
send
(
"文件不存在!!!!!!"
);
return
;
}
}
//
if (req.url != "/doc/api/platform/fgbusinesschance.md") {
//
if (!req.query.key) {
//
res.send("文件不存在!!!");
//
return;
//
}
//
if (req.query.key != "doc12345789") {
//
res.send("文件不存在!!!!!!");
//
return;
//
}
//
}
var
forder
=
req
.
params
[
"forder"
];
var
fileName
=
req
.
params
[
"fileName"
]
||
"README.md"
;
var
path
=
process
.
cwd
()
+
"/app/front/entry/public/apidoc"
;
...
...
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