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
53f01672
Commit
53f01672
authored
Nov 06, 2018
by
wwccw0591
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'lyz_recommond_store' of git.shenbd.com:qm-develop/shenbd
parents
1deb8f05
4ea72192
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
StoreService.php
application/models/Business/Store/StoreService.php
+4
-2
application.ini
conf/application.ini
+2
-2
No files found.
application/models/Business/Store/StoreService.php
View file @
53f01672
...
@@ -586,9 +586,11 @@ class StoreServiceModel extends \Business\AbstractModel{
...
@@ -586,9 +586,11 @@ class StoreServiceModel extends \Business\AbstractModel{
$purchasedStore
=
array
();
$purchasedStore
=
array
();
if
(
$signStores
&&
in_array
(
$goodsClass
[
'gcId'
],
array_keys
(
$signStores
))){
//如果当前分类存在对应签约店铺
if
(
$signStores
&&
in_array
(
$goodsClass
[
'gcId'
],
array_keys
(
$signStores
))){
//如果当前分类存在对应签约店铺
$exitStore
=
$allStores
[
$signStores
[
$goodsClass
[
'gcId'
]]];
$exitStore
=
$allStores
[
$signStores
[
$goodsClass
[
'gcId'
]]];
}
else
if
(
$serviceStores
&&
in_array
(
$goodsClass
[
'gcId'
],
array_keys
(
$serviceStores
))){
}
if
(
empty
(
$exitStore
)
&&
$serviceStores
&&
in_array
(
$goodsClass
[
'gcId'
],
array_keys
(
$serviceStores
))){
$exitStore
=
$allStores
[
$serviceStores
[
$goodsClass
[
'gcId'
]]];
$exitStore
=
$allStores
[
$serviceStores
[
$goodsClass
[
'gcId'
]]];
}
else
if
(
$expressStores
&&
in_array
(
$goodsClass
[
'gcId'
],
array_keys
(
$expressStores
))){
}
if
(
empty
(
$exitStore
)
&&
$expressStores
&&
in_array
(
$goodsClass
[
'gcId'
],
array_keys
(
$expressStores
))){
$exitStore
=
$allStores
[
$expressStores
[
$goodsClass
[
'gcId'
]]];
$exitStore
=
$allStores
[
$expressStores
[
$goodsClass
[
'gcId'
]]];
}
}
if
(
$memberStores
){
if
(
$memberStores
){
...
...
conf/application.ini
View file @
53f01672
...
@@ -344,7 +344,7 @@ elastic.master.host="192.168.1.201"
...
@@ -344,7 +344,7 @@ elastic.master.host="192.168.1.201"
elastic.master.port
=
"9200"
elastic.master.port
=
"9200"
elastic.master.scheme
=
"http"
;
elastic.master.scheme
=
"http"
;
[lyz : common]
[lyz
test
: common]
; 数据库配置
; 数据库配置
resources.database.params.driver
=
"pdo_mysql"
resources.database.params.driver
=
"pdo_mysql"
resources.database.params.hostname
=
"127.0.0.1"
resources.database.params.hostname
=
"127.0.0.1"
...
@@ -391,7 +391,7 @@ elastic.master.host="192.168.1.201"
...
@@ -391,7 +391,7 @@ elastic.master.host="192.168.1.201"
elastic.master.port
=
"9200"
elastic.master.port
=
"9200"
elastic.master.scheme
=
"http"
;
elastic.master.scheme
=
"http"
;
[lyz
test
: common]
[lyz : common]
; 数据库配置
; 数据库配置
resources.database.params.driver
=
"pdo_mysql"
resources.database.params.driver
=
"pdo_mysql"
resources.database.params.hostname
=
"127.0.0.1"
resources.database.params.hostname
=
"127.0.0.1"
...
...
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