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
e9833eb7
Commit
e9833eb7
authored
Oct 23, 2018
by
wwccw0591
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master_dev' of git.shenbd.com:qm-develop/shenbd into ccw
parents
c56a8f99
c2508a54
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
StoreService.php
application/models/Business/Store/StoreService.php
+0
-2
MemberService.php
application/models/Business/User/MemberService.php
+3
-0
No files found.
application/models/Business/Store/StoreService.php
View file @
e9833eb7
...
...
@@ -60,7 +60,6 @@ class StoreServiceModel extends \Business\AbstractModel{
$favoritesStoreDao
=
\DAO\FavoritesStoreModel
::
getInstance
();
$result
=
$favoritesStoreDao
->
insertAll
(
$storeMembers
);
}
else
{
\Our\Log
::
getInstance
()
->
write
(
$param
[
'key'
]
.
'无会员'
,
'/data/log/special'
);
$sess
=
\Yaf\Session
::
getInstance
();
$scan_store_ids
=
$sess
->
get
(
'scan_store_ids'
);
if
(
$scan_store_ids
){
...
...
@@ -73,7 +72,6 @@ class StoreServiceModel extends \Business\AbstractModel{
}
else
{
$scan_store_ids
=
''
.
$storeId
;
}
\Our\Log
::
getInstance
()
->
write
(
$scan_store_ids
.
'无会员'
,
'/data/log/special'
);
$sess
[
'scan_store_ids'
]
=
$scan_store_ids
;
if
(
$param
[
'sid'
])
{
$scan_sale_ids
=
$sess
->
get
(
'scan_sale_ids'
);
...
...
application/models/Business/User/MemberService.php
View file @
e9833eb7
...
...
@@ -311,6 +311,9 @@ class MemberServiceModel extends \Business\AbstractModel
$sess
=
\Yaf\Session
::
getInstance
();
$scan_store_ids
=
$sess
->
get
(
'scan_store_ids'
);
//扫码带入的店铺ID
if
(
$scan_store_ids
){
if
(
!
is_array
(
$scan_store_ids
)){
$scan_store_ids
=
explode
(
','
,
$scan_store_ids
);
}
$storeMembers
=
array
();
foreach
(
$scan_store_ids
as
$storeId
){
$storeMember
=
array
();
...
...
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