Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
my-yaf-project
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
chenchuanwen
my-yaf-project
Commits
a2651521
Commit
a2651521
authored
Oct 23, 2018
by
liuyuzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试店铺
parent
9388f9c2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
StoreService.php
application/models/Business/Store/StoreService.php
+3
-0
No files found.
application/models/Business/Store/StoreService.php
View file @
a2651521
...
@@ -64,6 +64,9 @@ class StoreServiceModel extends \Business\AbstractModel{
...
@@ -64,6 +64,9 @@ class StoreServiceModel extends \Business\AbstractModel{
$sess
=
\Yaf\Session
::
getInstance
();
$sess
=
\Yaf\Session
::
getInstance
();
$scan_store_ids
=
$sess
->
get
(
'scan_store_ids'
);
$scan_store_ids
=
$sess
->
get
(
'scan_store_ids'
);
if
(
$scan_store_ids
){
if
(
$scan_store_ids
){
if
(
is_array
(
$scan_store_ids
)){
//兼容历史数据,如果有历史数据
$scan_store_ids
=
implode
(
','
,
$scan_store_ids
);
}
if
(
strpos
(
','
.
$scan_store_ids
.
','
,
','
.
$storeId
.
','
)
===
false
){
if
(
strpos
(
','
.
$scan_store_ids
.
','
,
','
.
$storeId
.
','
)
===
false
){
$scan_store_ids
.=
','
.
$storeId
;
$scan_store_ids
.=
','
.
$storeId
;
}
}
...
...
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