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
40427c1c
Commit
40427c1c
authored
May 09, 2020
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
1d6f19de
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
center-channel/app/base/api/impl/action/tmTools.js
+3
-3
No files found.
center-channel/app/base/api/impl/action/tmTools.js
View file @
40427c1c
...
@@ -18,10 +18,10 @@ class TmToolsAPI extends WEBBase {
...
@@ -18,10 +18,10 @@ class TmToolsAPI extends WEBBase {
if
(
!
pobj
.
actionType
)
{
if
(
!
pobj
.
actionType
)
{
return
system
.
getResult
(
null
,
"actionType参数不能为空"
);
return
system
.
getResult
(
null
,
"actionType参数不能为空"
);
}
}
var
result
=
await
this
.
opActionProcess
(
pobj
.
actionProcess
,
pobj
.
actionType
,
pobj
.
actionBody
,
req
);
var
result
=
await
this
.
opActionProcess
(
pobj
,
pobj
.
actionType
,
pobj
.
actionBody
,
req
);
return
result
;
return
result
;
}
}
async
opActionProcess
(
action_process
,
action_type
,
action_body
,
req
)
{
async
opActionProcess
(
pobj
,
action_type
,
action_body
,
req
)
{
var
opResult
=
null
;
var
opResult
=
null
;
switch
(
action_type
)
{
switch
(
action_type
)
{
// sy
// sy
...
@@ -35,7 +35,7 @@ class TmToolsAPI extends WEBBase {
...
@@ -35,7 +35,7 @@ class TmToolsAPI extends WEBBase {
opResult
=
await
this
.
toolSve
.
decryptStr
(
req
.
app
,
action_body
.
opStr
);
opResult
=
await
this
.
toolSve
.
decryptStr
(
req
.
app
,
action_body
.
opStr
);
break
;
break
;
case
"getOssConfig"
:
//获取oss信息
case
"getOssConfig"
:
//获取oss信息
opResult
=
await
this
.
toolSve
.
getOssConfig
();
opResult
=
await
this
.
toolSve
.
getOssConfig
(
pobj
);
break
;
break
;
case
"getNcl"
:
//尼斯查询(一)
case
"getNcl"
:
//尼斯查询(一)
opResult
=
await
this
.
toolSve
.
getNcl
(
action_body
,
req
);
opResult
=
await
this
.
toolSve
.
getNcl
(
action_body
,
req
);
...
...
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