Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gjj_api
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
data_server
gjj_api
Commits
d9cc2ddb
Commit
d9cc2ddb
authored
Apr 11, 2019
by
姜登
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gjjapi
parent
369c5e39
Pipeline
#5875
passed with stage
in 2 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
15 deletions
+1
-15
partner.js
app/service/partner.js
+0
-5
config.local.js
config/config.local.js
+1
-6
config.prod.js
config/config.prod.js
+0
-4
No files found.
app/service/partner.js
View file @
d9cc2ddb
...
...
@@ -3,11 +3,6 @@
const
Service
=
require
(
'egg'
).
Service
;
class
PartnerService
extends
Service
{
constructor
(
ctx
)
{
super
(
ctx
);
const
{
config
:
{
partnerAPI
}
}
=
this
;
this
.
partnerAPI
=
partnerAPI
;
}
async
notice
(
order
)
{
const
{
ctx
}
=
this
;
...
...
config/config.local.js
View file @
d9cc2ddb
...
...
@@ -20,17 +20,12 @@ module.exports = () => {
createTaskUrl
:
'/gjjServices/createGjjTask'
,
fetchCodeUrl
:
'/gjjServices/queryGjjCode'
,
submitTaskUrl
:
'/gjjServices/queryGjj'
,
fetchTaskUrl
:
'/gjjServices/getGjjData'
fetchTaskUrl
:
'/gjjServices/getGjjData'
,
};
config
.
partnerAPI
=
{
host
:
'https://uat-nginx.jianbing.com/zeus-api/v1'
,
fetchTheme
:
'/chaos/hf/partners'
,
fetchScripts
:
'/chaos/partners/scripts'
,
fetchAgreements
:
'/chaos/agreements'
,
redisThemePrefix
:
'URANUS.HF.PARNTERS.THEME'
,
redisScriptsPrefix
:
'URANUS.HF.PARNTERS.SCRIPTS'
,
redisAgreementsPrefix
:
'URANUS.HF.PARNTERS.Agreements'
,
};
config
.
scriptsAPI
=
{
...
...
config/config.prod.js
View file @
d9cc2ddb
...
...
@@ -70,10 +70,6 @@ module.exports = () => {
host
:
process
.
env
.
PARTNERAPI_HOST
||
'https://uat-nginx.jianbing.com/zeus-api/v1'
,
fetchTheme
:
'/chaos/hf/partners'
,
fetchScripts
:
'/chaos/partners/scripts'
,
fetchAgreements
:
'/chaos/agreements'
,
redisThemePrefix
:
'URANUS.HF.PARNTERS.THEME'
,
redisScriptsPrefix
:
'URANUS.HF.PARNTERS.SCRIPTS'
,
redisAgreementsPrefix
:
'URANUS.HF.PARNTERS.Agreements'
,
};
config
.
lockKeys
=
{
...
...
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