Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2021-1-capstone-design1
/
RIT_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
박권수
2021-09-19 00:04:12 +0900
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
7a4b53927810fe15d75806a5f0699a699a8ab797
7a4b5392
2 parents
b6204fb9
465a19f7
Merge branch 'server' into web
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
server/src/api/manage/manage.ctrl.js
server/src/api/manage/manage.ctrl.js
View file @
7a4b539
...
...
@@ -317,6 +317,14 @@ exports.validateDoctorLicense = async ctx => {
}
const
{
validateDoctorLicense
}
=
ctx
.
request
.
body
;
if
(
!
validateDoctorLicense
)
{
ctx
.
status
=
404
;
ctx
.
body
=
{
error
:
'유효한 자격번호를 입력해주세요'
,
};
return
;
}
const
doctorInfo
=
await
DoctorInfo
.
findOne
({
'info.validateDoctorLicense'
:
validateDoctorLicense
});
ctx
.
status
=
200
;
...
...
Please
register
or
login
to post a comment