Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pisns-forum-api
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
scrmGroup
pisns-forum-api
Commits
f6e4ca0a
Commit
f6e4ca0a
authored
Aug 31, 2015
by
刘文胜
2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
ced9f2d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
commentTips.js
app/utils/commentTips.js
+2
-0
No files found.
app/utils/commentTips.js
View file @
f6e4ca0a
...
...
@@ -20,6 +20,7 @@ exports.clear = function(entcode,userId,callback){
exports
.
incrTips
=
function
(
entcode
,
userId
,
callback
){
var
key
=
getKey
(
entcode
,
userId
);
console
.
log
(
'增加'
+
key
);
if
(
!
redis
){
console
.
log
(
'redis error'
);
return
callback
&&
callback
(
'error'
);
...
...
@@ -33,6 +34,7 @@ exports.incrTips=function(entcode,userId,callback){
exports
.
get
=
function
(
entcode
,
userId
,
callback
){
var
key
=
getKey
(
entcode
,
userId
);
console
.
log
(
'获取'
+
key
);
if
(
!
redis
){
console
.
log
(
'redis error'
);
return
callback
&&
callback
(
'error'
);
...
...
strong
@strong
mentioned in commit
55018dfb
·
Aug 31, 2015
mentioned in commit
55018dfb
mentioned in commit 55018dfb3ab7a0f23e4cf532c399144436d61e5b
Toggle commit list
strong
@strong
mentioned in commit
1fccf906
·
Aug 31, 2015
mentioned in commit
1fccf906
mentioned in commit 1fccf9069fc2b332084f27cde5fb0ec590d5bbb9
Toggle commit list
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