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
de85feb4
Commit
de85feb4
authored
Nov 26, 2020
by
兰国旗
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'center-channel' of gitlab.gongsibao.com:jiangyong/zhichan into center-channel
parents
5b100856
a4e90837
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
center-channel/app/base/api/impl/opreceive/service.js
+13
-0
No files found.
center-channel/app/base/api/impl/opreceive/service.js
View file @
de85feb4
var
APIBase
=
require
(
"../../api.base"
);
var
APIBase
=
require
(
"../../api.base"
);
var
system
=
require
(
"../../../system"
);
var
system
=
require
(
"../../../system"
);
var
settings
=
require
(
"../../../../config/settings"
);
var
settings
=
require
(
"../../../../config/settings"
);
const
axios
=
require
(
"axios"
);
class
edi
extends
APIBase
{
class
edi
extends
APIBase
{
constructor
()
{
constructor
()
{
super
();
super
();
...
@@ -11,6 +12,18 @@ class edi extends APIBase {
...
@@ -11,6 +12,18 @@ class edi extends APIBase {
}
}
async
create
(
pobj
,
query
,
req
)
{
async
create
(
pobj
,
query
,
req
)
{
if
(
settings
.
env
!=
"dev"
)
{
axios
.
post
(
'https://oapi.dingtalk.com/robot/send?access_token=2995a6336bbddb3a4704fdb201ad244784e625b8af7ac5f0877c86e5a58ae164'
,{
msgtype
:
'text'
,
text
:{
content
:
"磐农来服务单啦!"
+
JSON
.
stringify
(
pobj
)
},
at
:
{
atMobiles
:
[
"13911391996"
]
},
isAtAll
:
false
})
}
console
.
log
(
pobj
);
console
.
log
(
pobj
);
this
.
logCtl
.
info
({
this
.
logCtl
.
info
({
op
:
"service/impl/utilsSve/service.js/create"
,
op
:
"service/impl/utilsSve/service.js/create"
,
...
...
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