Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
T
ts-api-demo
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wmvm
ts-api-demo
Commits
d321f554
Project 'zhuangke/ts-api-demo' was moved to 'wmvm/ts-api-demo'. Please update any links and bookmarks that may still have the old path.
Commit
d321f554
authored
Sep 05, 2024
by
ml
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
04558c14
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
mUserManage.service.ts
src/functional/mvc/service/mUserManage.service.ts
+0
-4
mUserRealName.service.ts
src/functional/mvc/service/mUserRealName.service.ts
+2
-1
No files found.
src/functional/mvc/service/mUserManage.service.ts
View file @
d321f554
...
@@ -53,10 +53,6 @@ export async function userList(queryVO: QueryVO) {
...
@@ -53,10 +53,6 @@ export async function userList(queryVO: QueryVO) {
where
.
user_id
=
queryVO
.
user_id
;
where
.
user_id
=
queryVO
.
user_id
;
}
}
if
(
!
isNaN
(
queryVO
.
kyc_status
))
{
where
.
real_name
=
queryVO
.
kyc_status
?
{
[
ormDB
.
Op
.
not
]:
null
}
:
""
;
}
if
(
!
isNaN
(
queryVO
.
lock_status
))
{
if
(
!
isNaN
(
queryVO
.
lock_status
))
{
where
.
is_lock
=
queryVO
.
lock_status
;
where
.
is_lock
=
queryVO
.
lock_status
;
}
}
...
...
src/functional/mvc/service/mUserRealName.service.ts
View file @
d321f554
...
@@ -7,6 +7,7 @@ import { EMAIL_FORBID_TEMPLATE, REAL_NAME_DENY, REAL_NAME_PASS } from "../../../
...
@@ -7,6 +7,7 @@ import { EMAIL_FORBID_TEMPLATE, REAL_NAME_DENY, REAL_NAME_PASS } from "../../../
import
{
KYC_STATUS
,
SETTING_FLAG
}
from
"../../../constant/mUserInfoConst"
;
import
{
KYC_STATUS
,
SETTING_FLAG
}
from
"../../../constant/mUserInfoConst"
;
import
{
addOptLog
,
LogType
}
from
"./userOptLog.service"
;
import
{
addOptLog
,
LogType
}
from
"./userOptLog.service"
;
import
{
recordMUserOperateLog
,
TYPE
}
from
"./mUserAccountOperateLog.service"
;
import
{
recordMUserOperateLog
,
TYPE
}
from
"./mUserAccountOperateLog.service"
;
import
{
isNaN
}
from
"lodash"
;
let
{
logger
,
}
=
require
(
'@madex/ex-js-public'
);
let
{
logger
,
}
=
require
(
'@madex/ex-js-public'
);
...
@@ -82,7 +83,7 @@ export async function kycList(queryVO: QueryVO, isAdmin: boolean) {
...
@@ -82,7 +83,7 @@ export async function kycList(queryVO: QueryVO, isAdmin: boolean) {
}]
}]
}
}
}
}
if
(
queryVO
.
status
)
{
if
(
!
isNaN
(
Number
(
queryVO
.
status
))
)
{
where
[
"status"
]
=
queryVO
.
status
where
[
"status"
]
=
queryVO
.
status
}
}
let
resList
=
await
userRealName
.
prototype
.
findAndCount
({
let
resList
=
await
userRealName
.
prototype
.
findAndCount
({
...
...
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