Toggle navigation
Toggle navigation
This project
Loading...
Sign in
mobile
/
yh_vendor
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
于良
9 years ago
Commit
61c943efb1feeea9f18a43364d1cec8aa6a96436
1 parent
d058b3bf
修复moment没有引入问题 review by 盖剑秋
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
js/constants/config.js
js/services/HomeService.js
js/constants/config.js
View file @
61c943e
module
.
exports
=
{
dev
:
{
// baseUrl: 'http://testapi.yoho.cn:28077',
baseUrl
:
'http://172.16.6.1
90:8081
'
,
baseUrl
:
'http://172.16.6.1
08:8080
'
,
iosPrivateKey
:
'a85bb0674e08986c6b115d5e3a4884fa'
,
androidPrivateKey
:
'fd4ad5fcfa0de589ef238c0e7331b585'
,
httpTimeout
:
30000
,
//毫秒
},
prd
:
{
baseUrl
:
'http://172.16.6.1
90:8081
'
,
baseUrl
:
'http://172.16.6.1
08:8080
'
,
iosPrivateKey
:
'a85bb0674e08986c6b115d5e3a4884fa'
,
androidPrivateKey
:
'fd4ad5fcfa0de589ef238c0e7331b585'
,
HTTPTimeout
:
30000
,
//毫秒
...
...
js/services/HomeService.js
View file @
61c943e
'use strict'
;
import
Request
from
'./Request'
;
import
moment
from
'moment'
;
export
default
class
UserService
{
...
...
Please
register
or
login
to post a comment