Commit 73152f43 authored by liuyuzhen's avatar liuyuzhen

组合销售缓存设置

parent d10b75aa
......@@ -336,6 +336,7 @@ class ApiConst
const takeAccessTokenLimit = 7000;
const minus = 0;
const plus = 1;
const set = 2;
//微信小程序是否发布
const isWxPublish = 0;
......
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment