Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
butter-studio
Commits
bd9ff2cc
Commit
bd9ff2cc
authored
Jul 28, 2021
by
한규민
Browse files
로그인 UI, SMS인증
마이페이지
parent
c42e9ffb
Changes
22
Hide whitespace changes
Inline
Side-by-side
server/models/user.model.js
View file @
bd9ff2cc
...
@@ -16,6 +16,9 @@ const UserModel = (sequelize) => {
...
@@ -16,6 +16,9 @@ const UserModel = (sequelize) => {
userId
:
{
userId
:
{
type
:
DataTypes
.
STRING
,
type
:
DataTypes
.
STRING
,
},
},
email
:
{
type
:
DataTypes
.
STRING
,
},
nickname
:
{
nickname
:
{
type
:
DataTypes
.
STRING
,
type
:
DataTypes
.
STRING
,
},
},
...
...
server/routes/user.route.js
View file @
bd9ff2cc
...
@@ -19,4 +19,12 @@ router
...
@@ -19,4 +19,12 @@ router
.
route
(
"
/:userId
"
)
.
route
(
"
/:userId
"
)
.
get
(
userCtrl
.
compareId
)
.
get
(
userCtrl
.
compareId
)
router
.
route
(
"
/:id/:token
"
)
.
get
(
userCtrl
.
confirmMbnum
)
router
.
route
(
"
/:iddd
"
)
.
get
(
userCtrl
.
getNickName
)
export
default
router
;
export
default
router
;
\ No newline at end of file
Prev
1
2
Next
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