Toggle navigation
Toggle navigation
This project
Loading...
Sign in
최시원
/
Singer-Composer
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Mukho
2021-11-25 20:14:36 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ddef91b5ed763d04b9b0d188e7ed8d9dcd6ed71c
ddef91b5
1 parent
6d75935f
fix
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
readme.md
router/register/index.js
readme.md
View file @
ddef91b
...
...
@@ -61,10 +61,8 @@ create table board(
>UPDATE board SET idx = @COUNT:=@COUNT+1;
---
### 최종 수정: 2021-11-25
18:48
<br>
### 최종 수정: 2021-11-25
20:14
<br>
### 수정 내용:
0.
사용자-서버 채팅간 여백
0.
채팅 엔터키
1.
채팅 구현
2.
시간 실시간 반영
3.
프로필 사진 추가
...
...
router/register/index.js
View file @
ddef91b
...
...
@@ -88,7 +88,7 @@ passport.use('local-join', new LocalStrategy({
var
sql
=
{
ID
:
ID
,
password
:
password
,
type
:
req
.
body
.
type
,
nickname
:
req
.
body
.
nickname
};
var
query
=
connection
.
query
(
'insert into userDB set ?'
,
sql
,
function
(
err
,
rows
){
if
(
err
)
throw
err
console
.
log
(
logString
+
"회원가입 알림: 사용자가 추가되었습니다.(
"
+
ID
+
", "
+
req
.
body
.
nickname
+
"
// "
+
ip
+
')'
)
console
.
log
(
logString
+
"회원가입 알림: 사용자가 추가되었습니다.(
{"
+
ID
+
"("
+
req
.
body
.
nickname
+
")}
// "
+
ip
+
')'
)
return
done
(
null
,
{
'ID'
:
ID
,
'nickname'
:
req
.
body
.
nickname
});
})
}
...
...
Please
register
or
login
to post a comment