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-20 01:50:27 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
157bcd8702f85f2a0e011d99fc896f1dded65450
157bcd87
1 parent
3f9afbe3
type check
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
readme.md
router/board/index.js
readme.md
View file @
157bcd8
...
...
@@ -55,7 +55,7 @@ SET @COUNT = 0;
UPDATE board SET idx = @COUNT:=@COUNT+1;
입력
<h2><br><br>
최종 수정: 2021-11-20 01:
43
<br>
최종 수정: 2021-11-20 01:
50
<br>
최종 수정 내용:
<h2>
★★필수입력★★
<h2>
alter table board drop passwd;
...
...
router/board/index.js
View file @
157bcd8
...
...
@@ -41,7 +41,7 @@ router.get('/list/:page', function(req, res, next) {
if
(
err
)
console
.
error
(
"err : "
+
err
);
var
id
=
req
.
user
.
ID
;
var
nickname
=
req
.
user
.
nickname
;
console
.
log
(
logString
+
req
.
user
.
ID
+
'('
+
nickname
+
') 유저가 게시판을 보고
있습니다.'
)
console
.
log
(
logString
+
req
.
user
.
ID
+
'('
+
nickname
+
') 유저가 게시판을 보고있습니다.'
)
res
.
render
(
'list.ejs'
,
{
'ID'
:
id
,
'nickname'
:
nickname
,
title
:
'게시판 리스트'
,
rows
:
rows
,
page
:
page
,
length
:
rows
.
length
-
1
,
page_num
:
10
,
pass
:
true
})
})
}
...
...
Please
register
or
login
to post a comment