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
ab11759e
Commit
ab11759e
authored
Oct 22, 2021
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改参数
parent
7fb3d068
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
igirl-channel-web/app/base/controller/impl/trademark/tmqueryCtl.js
+8
-3
No files found.
igirl-channel-web/app/base/controller/impl/trademark/tmqueryCtl.js
View file @
ab11759e
...
@@ -41,9 +41,13 @@ class tmqueryCtl extends CtlBase {
...
@@ -41,9 +41,13 @@ class tmqueryCtl extends CtlBase {
if
(
!
pobj
.
actionType
)
{
if
(
!
pobj
.
actionType
)
{
return
system
.
getResult
(
null
,
"actionType不能为空"
);
return
system
.
getResult
(
null
,
"actionType不能为空"
);
}
}
if
(
pobj
.
actionType
.
indexOf
(
";"
)
>=
0
)
{
let
text_keyword_tags
=
pobj
.
actionType
.
replace
(
/
[
,`~!@#$%^&*:;><|.
\\
\/
=
]
/g
,
""
);
if
(
text_keyword_tags
.
length
!=
pobj
.
actionType
.
length
){
return
system
.
getResult
(
null
,
"非法参数"
);
return
system
.
getResult
(
null
,
"非法参数"
);
}
}
// if (pobj.actionType.indexOf(";")>=0||pobj.actionType.indexOf("|")>=0) {
// return system.getResult(null, "非法参数");
// }
if
(
!
pobj
.
actionBody
)
{
if
(
!
pobj
.
actionBody
)
{
return
system
.
getResult
(
null
,
"actionBody不能为空"
);
return
system
.
getResult
(
null
,
"actionBody不能为空"
);
}
}
...
@@ -764,7 +768,6 @@ class tmqueryCtl extends CtlBase {
...
@@ -764,7 +768,6 @@ class tmqueryCtl extends CtlBase {
//----------------------------gsb------操作------------end
//----------------------------gsb------操作------------end
async
getUserByPin
(
pobj
,
qobj
,
req
)
{
async
getUserByPin
(
pobj
,
qobj
,
req
)
{
var
user
=
req
.
session
.
userPinInfo
;
var
user
=
req
.
session
.
userPinInfo
;
if
(
!
user
)
{
if
(
!
user
)
{
...
@@ -775,6 +778,7 @@ class tmqueryCtl extends CtlBase {
...
@@ -775,6 +778,7 @@ class tmqueryCtl extends CtlBase {
}
}
return
system
.
getResultSuccess
(
user
);
return
system
.
getResultSuccess
(
user
);
}
}
}
}
module
.
exports
=
tmqueryCtl
;
module
.
exports
=
tmqueryCtl
;
\ No newline at end of file
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