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
73152f43
Commit
73152f43
authored
Aug 15, 2018
by
liuyuzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
组合销售缓存设置
parent
d10b75aa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
ApiConst.php
application/library/Our/ApiConst.php
+1
-0
PBundling.php
application/models/DAO/PBundling.php
+2
-0
No files found.
application/library/Our/ApiConst.php
View file @
73152f43
...
...
@@ -336,6 +336,7 @@ class ApiConst
const
takeAccessTokenLimit
=
7000
;
const
minus
=
0
;
const
plus
=
1
;
const
set
=
2
;
//微信小程序是否发布
const
isWxPublish
=
0
;
...
...
application/models/DAO/PBundling.php
View file @
73152f43
...
...
@@ -95,6 +95,8 @@ class PBundlingModel extends \DAO\AbstractModel {
$storeage
-=
$num
;
}
else
if
(
$op
==
\Our\ApiConst
::
plus
){
$storeage
+=
$num
;
}
else
if
(
$op
==
\Our\ApiConst
::
set
){
$storeage
=
$num
;
}
else
{
return
false
;
}
...
...
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