Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-arena-api
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
ygopro-arena-api
Commits
40302f37
Commit
40302f37
authored
May 01, 2017
by
ganjingcun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asd
parent
1ccd8929
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
Dockerfile
Dockerfile
+4
-0
routes/api.js
routes/api.js
+1
-1
No files found.
Dockerfile
View file @
40302f37
...
...
@@ -5,5 +5,9 @@ WORKDIR /usr/src/app
COPY
package.json /usr/src/app/
RUN
npm
install
COPY
. /usr/src/app
# 设置时区
RUN
cp
/usr/share/zoneinfo/Asia/Shanghai /etc/localtime
EXPOSE
3000
CMD
[ "npm", "start" ]
routes/api.js
View file @
40302f37
...
...
@@ -60,7 +60,7 @@ var j = schedule.scheduleJob('30 30 0 1 * *', function () {
}
var
sql
=
`update user_info set pt = (pt - (pt - 500) * 0.4 )
where
and
pt > 500`
where pt > 500`
client
.
query
(
sql
,
function
(
err
,
result
)
{
done
()
...
...
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