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
60280212
Commit
60280212
authored
Jul 10, 2020
by
wkliang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
33a7ae94
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
5 deletions
+6
-5
.vscode/launch.json
+2
-1
rej-reex/app/base/db/cache/companyCache.js
+0
-1
rej-reex/app/base/system.js
+1
-1
rej-reex/app/config/routes/web.js
+2
-2
rej-reex/app/config/settings.js
+1
-0
rej-reex/package-lock.json
+0
-0
No files found.
.vscode/launch.json
View file @
60280212
...
...
@@ -8,7 +8,7 @@
"type"
:
"node"
,
"request"
:
"launch"
,
"name"
:
"Launch Program"
,
"program"
:
"${workspaceFolder}/
ic-deliver
/main.js"
"program"
:
"${workspaceFolder}/
rej-reex
/main.js"
}
]
}
\ No newline at end of file
rej-reex/app/base/db/cache/companyCache.js
View file @
60280212
...
...
@@ -5,7 +5,6 @@ class CompanyCache extends CacheBase{
constructor
(){
super
();
this
.
prefix
=
"g_centercompanykey:"
;
this
.
companyDao
=
system
.
getObject
(
"db.common.companyDao"
);
}
isdebug
(){
return
settings
.
env
==
"dev"
;
...
...
rej-reex/app/base/system.js
View file @
60280212
...
...
@@ -217,7 +217,7 @@ class System {
try
{
ClassObj
=
require
(
objabspath
);
}
catch
(
e
)
{
console
.
log
(
e
)
//
console.log(e)
let
fname
=
objsettings
[
packageName
+
"base"
];
ClassObj
=
require
(
fname
);
}
...
...
rej-reex/app/config/routes/web.js
View file @
60280212
var
url
=
require
(
"url"
);
var
system
=
require
(
"../../base/system"
);
var
metaCtl
=
system
.
getObject
(
"web.common.metaCtl"
);
var
metaCtl
=
system
.
getObject
(
"web.common.metaCtl"
);
module
.
exports
=
function
(
app
)
{
app
.
get
(
'/web/:gname/:qname/:method'
,
function
(
req
,
res
)
{
var
classPath
=
req
.
params
[
"qname"
];
...
...
@@ -9,7 +9,7 @@ module.exports = function (app) {
classPath
=
gname
+
"."
+
classPath
;
var
params
=
[];
params
.
push
(
methodName
);
params
.
push
(
req
.
body
);
params
.
push
(
req
.
body
);
params
.
push
(
req
.
query
);
params
.
push
(
req
);
var
p
=
null
;
...
...
rej-reex/app/config/settings.js
View file @
60280212
...
...
@@ -65,6 +65,7 @@ var settings = {
database
:
function
()
{
if
(
this
.
env
==
"dev"
)
{
var
localsettings
=
require
(
"./localsettings"
);
console
.
log
(
">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>...."
)
return
localsettings
.
database
;
}
else
{
return
{
...
...
rej-reex/package-lock.json
View file @
60280212
This diff is collapsed.
Click to expand it.
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