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
e38ff640
Commit
e38ff640
authored
Jan 11, 2019
by
liuyuzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
组合销售测试
parent
48c7be1d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
PBundling.php
application/models/DAO/PBundling.php
+2
-1
application.ini
conf/application.ini
+4
-4
No files found.
application/models/DAO/PBundling.php
View file @
e38ff640
...
...
@@ -256,7 +256,8 @@ class PBundlingModel extends \DAO\AbstractModel {
}
$pBundlingRedisDao
=
\Redis\Db4\PBundlingRedisModel
::
getInstance
();
$pBundlingRedisDao
->
tableDelAll
(
$pBundlingRedisDao
->
tableKeys
(
'gid_'
.
$blId
));
\Business\Goods\GroupSaleServiceModel
::
getInstance
()
->
getPBundlingListByBlIds
(
array
(
$blId
));
$groups
=
\Business\Goods\GroupSaleServiceModel
::
getInstance
()
->
getPBundlingListByBlIds
(
array
(
$blId
));
echo
\Lock\RedisLock
::
getInstance
()
->
releaseLock
(
\Our\NameConst
::
pBundlingStorageRedisPrefix
.
$blId
);
return
true
;
}
...
...
conf/application.ini
View file @
e38ff640
...
...
@@ -439,21 +439,21 @@ elastic.master.scheme="http";
[lyz : common]
; 数据库配置
resources.database.params.driver
=
"pdo_mysql"
resources.database.params.hostname
=
"1
06.14.14.233
"
resources.database.params.hostname
=
"1
27.0.0.1
"
resources.database.params.port
=
3306
resources.database.params.database
=
"qmcs"
resources.database.params.username
=
"root"
resources.database.params.password
=
"
!@#$%12345werty
"
resources.database.params.password
=
"
123456
"
resources.database.params.charset
=
"UTF8"
resources.database.params.driver_options.1002
=
"SET NAMES utf8"
; 从库配置
resources.database.slave.params.driver
=
"pdo_mysql"
resources.database.slave.params.hostname
=
"1
06.14.14.233
"
resources.database.slave.params.hostname
=
"1
27.0.0.1
"
resources.database.slave.params.port
=
3306
resources.database.slave.params.database
=
"qmcs"
resources.database.slave.params.username
=
"root"
resources.database.slave.params.password
=
"
!@#$%12345werty
"
resources.database.slave.params.password
=
"
123456
"
resources.database.slave.params.charset
=
"UTF8"
resources.database.slave.params.driver_options.1002
=
"SET NAMES utf8"
...
...
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