Commit ca088f9e by 冷斌

update

parent e786294a
......@@ -75,7 +75,7 @@ class LuckrateController extends AdminbaseController {
// $check = $jackpot->where("giftid='{$giftid}' and nums='{$nums}' and times = '{$times}'")->find();
$check = $jackpot->where("giftid='{$giftid}'")->sum('rate');
var_dump($check);
var_dump($check + I('rate'));
die;
if($check){
// $this->error('相同数量、倍数的配置已存在');
......
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