Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
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
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
95f31870
Commit
95f31870
authored
Nov 15, 2019
by
蒋勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d
parent
31b89bf5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 additions
and
31 deletions
+1
-31
Dockerfile
+1
-1
bigdata/app/base/db/cache/appCache.js
+0
-28
node_modules/.package_versions.json
+0
-2
No files found.
Dockerfile
View file @
95f31870
#!/bin/bash
FROM
registry.cn-beijing.aliyuncs.com/hantang/node105:v2
MAINTAINER
jy "jiangyong@gongsibao.com"
ADD
projectmanage /apps/projectm
git
anage/
ADD
projectmanage /apps/projectmanage/
WORKDIR
/apps/projectmanage/
RUN
cnpm install
-S
CMD
["node","/apps/projectmanage/main.js"]
...
...
bigdata/app/base/db/cache/appCache.js
deleted
100644 → 0
View file @
31b89bf5
const
CacheBase
=
require
(
"../cache.base"
);
const
system
=
require
(
"../../system"
);
const
settings
=
require
(
"../../../config/settings"
);
//缓存首次登录的赠送的宝币数量
class
AppCache
extends
CacheBase
{
constructor
(){
super
();
this
.
prefix
=
"g_appkey:"
;
this
.
appDao
=
system
.
getObject
(
"db.common.appDao"
);
}
isdebug
(){
return
settings
.
env
==
"dev"
;
}
desc
(){
return
"缓存本地应用对象"
;
}
prefix
(){
return
"g_applocal_"
}
async
buildCacheVal
(
cachekey
,
inputkey
,
val
,
ex
,
...
items
)
{
const
configValue
=
await
this
.
appDao
.
findOne2
(
inputkey
);
if
(
configValue
)
{
return
JSON
.
stringify
(
configValue
);
}
return
null
;
}
}
module
.
exports
=
AppCache
;
node_modules/.package_versions.json
deleted
100644 → 0
View file @
31b89bf5
{}
\ No newline at end of file
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