Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
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
whb
9 years ago
Commit
50333bcb8a8006fb01f123d61ac56b8252ea86bd
1 parent
b81174af
去掉解决
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
library/WebPlugin/DataProcess/Process.php
web-static/dist/yohobuy/0.0.1/index-debug.js
web-static/dist/yohobuy/0.0.1/index.js
library/WebPlugin/DataProcess/Process.php
View file @
50333bc
...
...
@@ -466,7 +466,7 @@ class Process
$typeKey
=
sprintf
(
"%s_%s"
,
$type
,
$key
+
2
);
$cacheKey
=
sprintf
(
"%s_%s"
,
WebCacheConfig
::
KEY_WEB_INDEX_BRANDS_LIST_DATA
,
$typeKey
);
Cache
::
set
(
$cacheKey
,
$floor
,
86400
);
$result
[
'preferenceBrands'
][
'brandUrl'
]
=
Helpers
::
url
(
'/common/getIndexResourceBrand'
,
array
(
'type'
=>
$typeKey
));
$result
[
'preferenceBrands'
][
'brandUrl'
]
=
Helpers
::
url
(
'/common/getIndexResourceBrand'
,
array
(
'type'
=>
$typeKey
)
,
''
);
unset
(
$data
[
$key
],
$data
[
$key
+
1
],
$data
[
$key
+
2
]);
}
}
...
...
@@ -829,7 +829,7 @@ class Process
$typeKey
=
sprintf
(
"%s_%s"
,
$type
,
$key
);
$cacheKey
=
sprintf
(
"%s_%s"
,
WebCacheConfig
::
KEY_WEB_INDEX_BRANDS_LIST_DATA
,
$typeKey
);
Cache
::
set
(
$cacheKey
,
$floor
,
86400
);
$result
[
'hotBrands'
][
'brandUrl'
]
=
Helpers
::
url
(
'/common/getIndexResourceBrand'
,
array
(
'type'
=>
$typeKey
));
$result
[
'hotBrands'
][
'brandUrl'
]
=
Helpers
::
url
(
'/common/getIndexResourceBrand'
,
array
(
'type'
=>
$typeKey
)
,
''
);
}
return
$result
;
}
...
...
web-static/dist/yohobuy/0.0.1/index-debug.js
View file @
50333bc
...
...
@@ -331,7 +331,7 @@ var handlebars = require("handlebars");
var
json2
=
require
(
"index"
);
var
vipInfoCombine
=
null
;
//用户信息编译模板
var
loginInfoCombine
=
null
;
//登录信息编译模板
var
apiDomain
=
'http://
test
.open.yohobuy.com/'
;
//获取数据的地址http://api.open.yohobuy.com
var
apiDomain
=
'http://
api
.open.yohobuy.com/'
;
//获取数据的地址http://api.open.yohobuy.com
var
cartTpl
=
''
;
//购物车模板
/**
* 搜寻的时候过滤非法字符(+-/:等非法字符单独出现)
...
...
web-static/dist/yohobuy/0.0.1/index.js
View file @
50333bc
This diff could not be displayed because it is too large.
Please
register
or
login
to post a comment