Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
周少峰
9 years ago
Commit
5b4b80bb3248b1bfa21f35fb6e844c0537012830
1 parent
b7da509a
new more link
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
yohobuy/www.yohobuy.com/application/models/Product/Shop.php
yohobuy/www.yohobuy.com/public/index-dev.php
yohobuy/www.yohobuy.com/application/models/Product/Shop.php
View file @
5b4b80b
...
...
@@ -531,7 +531,7 @@ class ShopModel
if
(
isset
(
$data
[
'resource_data'
][
'new'
]))
{
foreach
(
$data
[
'resource_data'
][
'new'
]
as
$val
)
{
if
(
empty
(
$val
[
'url'
]))
{
if
(
empty
(
$val
[
'url'
])
||
empty
(
$val
[
'position'
])
)
{
continue
;
}
$result
[
'new'
][]
=
array
(
...
...
@@ -712,7 +712,7 @@ class ShopModel
}
}
if
(
!
is
e
et
(
$val
[
'data'
])
&&
is_array
(
$val
))
{
if
(
!
is
s
et
(
$val
[
'data'
])
&&
is_array
(
$val
))
{
foreach
(
$val
as
$k1
=>
&
$v1
)
{
$url
=
self
::
modifyUrl
(
$v1
,
$shopId
);
if
(
!
empty
(
$url
))
{
...
...
yohobuy/www.yohobuy.com/public/index-dev.php
View file @
5b4b80b
...
...
@@ -12,15 +12,15 @@ defined('APPLICATION_ENV') || define('APPLICATION_ENV', 'developer');
define
(
'EXHIBITION_TICKET'
,
51335912
);
//展览票skn
#test环境
//define('API_URL', 'http://testapi.yoho.cn:28078/');
//define('SERVICE_URL', 'http://testservice.yoho.cn:28077/');
define
(
'API_URL'
,
'http://testapi.yoho.cn:28078/'
);
define
(
'SERVICE_URL'
,
'http://testservice.yoho.cn:28077/'
);
//define('YOHOBUY_URL', 'http://www.yohobuy.com/');
//define('SERVICE_NOTIFY', 'http://testservice.yoho.cn:28077/');
//define('API_OLD', 'http://test2.open.yohobuy.com/');
#dev环境
define
(
'API_URL'
,
'http://dev-api.yohops.com:9999/'
);
define
(
'SERVICE_URL'
,
'http://dev-service.yohops.com:9999/'
);
// define('API_URL', 'http://dev-api.yohops.com:9999/');
// define('SERVICE_URL', 'http://dev-service.yohops.com:9999/');
define
(
'YOHOBUY_URL'
,
'http://www.yohobuy.com/'
);
define
(
'SERVICE_NOTIFY'
,
'http://test2.open.yohobuy.com/'
);
define
(
'API_OLD'
,
'http://devservice.yoho.cn:58077/'
);
...
...
Please
register
or
login
to post a comment