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
cf189b85
Commit
cf189b85
authored
Dec 09, 2019
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
85bcc3ae
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
24 deletions
+3
-24
igirl-channel-jdweb/app/base/controller/impl/trademark/tmqueryCtl.js
+3
-1
igirl-channel-jdweb/app/config/routes/web.js
+0
-23
No files found.
igirl-channel-jdweb/app/base/controller/impl/trademark/tmqueryCtl.js
View file @
cf189b85
...
@@ -14,7 +14,9 @@ class tmqueryCtl extends CtlBase {
...
@@ -14,7 +14,9 @@ class tmqueryCtl extends CtlBase {
async
doPost
(
pobj
,
obj
,
req
)
{
async
doPost
(
pobj
,
obj
,
req
)
{
console
.
log
(
req
.
session
.
userPinInfo
,
"req.session.userPinInfo.......................######################################################"
);
console
.
log
(
req
.
session
.
userPinInfo
,
"req.session.userPinInfo.......................######################################################"
);
console
.
log
(
obj
,
"req.session.userPinId..........objobjobj.............######################################################"
);
console
.
log
(
req
.
body
,
"r.........pobj.............######################################################"
);
console
.
log
(
req
.
query
,
"req.session.userPinId..........objobjobj.............######################################################"
);
var
rc
=
system
.
getObject
(
"util.execClient"
);
var
rc
=
system
.
getObject
(
"util.execClient"
);
try
{
try
{
...
...
igirl-channel-jdweb/app/config/routes/web.js
View file @
cf189b85
...
@@ -73,29 +73,6 @@ module.exports = function (app) {
...
@@ -73,29 +73,6 @@ module.exports = function (app) {
}
}
});
});
app
.
get
(
'/jdtm/:gname/:qname/:method'
,
function
(
req
,
res
)
{
try
{
var
classPath
=
req
.
params
[
"qname"
];
var
methodName
=
req
.
params
[
"method"
];
var
gname
=
req
.
params
[
"gname"
];
classPath
=
gname
+
"."
+
classPath
;
var
params
=
[];
params
.
push
(
methodName
);
params
.
push
(
req
.
body
);
params
.
push
(
req
.
query
);
params
.
push
(
req
);
var
p
=
null
;
var
invokeObj
=
System
.
getObject
(
"web."
+
classPath
);
if
(
invokeObj
[
"doexec"
])
{
p
=
invokeObj
[
"doexec"
].
apply
(
invokeObj
,
params
);
}
p
.
then
(
r
=>
{
res
.
end
(
JSON
.
stringify
(
r
));
});
}
catch
(
error
)
{
console
.
log
(
error
.
stack
,
"get/web/:gname/:qname/:method,error............."
);
}
});
app
.
get
(
'/web/:gname/:qname/:method'
,
function
(
req
,
res
)
{
app
.
get
(
'/web/:gname/:qname/:method'
,
function
(
req
,
res
)
{
try
{
try
{
var
classPath
=
req
.
params
[
"qname"
];
var
classPath
=
req
.
params
[
"qname"
];
...
...
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