Toggle navigation
Toggle navigation
This project
Loading...
Sign in
OPENTECH
/
yoho-node-ci
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
2
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
周少峰
2017-06-28 15:30:35 +0800
Commit
8409e1e2346e6be25c65f1d747a5030b73b71fc8
2 parents
482cd5ff
c5d92f71
Merge branch 'feature/extWord'
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
apps/web/utils/seoHelper.js
config/config.js
apps/web/utils/seoHelper.js
View file @
8409e1e
...
...
@@ -11,6 +11,9 @@ const sortBrands = (brands) => {
let
number
=
/^
[\d]
*$/
;
_
.
forEach
(
_
.
get
(
brands
,
'data'
),
(
val
,
key
)
=>
{
if
(
+
val
.
status
===
0
)
{
return
;
}
let
brand
=
{
id
:
val
.
id
,
brandName
:
val
.
brand_name
};
if
(
number
.
test
(
val
.
brand_alif
))
{
...
...
config/config.js
View file @
8409e1e
...
...
@@ -36,7 +36,7 @@ const defaults = {
user
:
'yh_test'
,
password
:
'yh_test'
,
port
:
'3306'
,
database
:
'y
h
_seo'
database
:
'y
oho
_seo'
},
domains
:
{
// test3
...
...
@@ -108,7 +108,7 @@ const specific = {
user
:
'yoho_seo_user'
,
password
:
'eRUWnPm6nqWT'
,
port
:
'3306'
,
database
:
'y
h
_seo'
,
database
:
'y
oho
_seo'
,
},
domains
:
{
singleApi
:
'http://single.yoho.cn/'
,
...
...
Please
register
or
login
to post a comment