Commit 281b9f89 by 冷斌

支付宝

parent d365a500
......@@ -73,9 +73,11 @@ class LuckrateController extends AdminbaseController {
$this->error('中奖倍数不能小于0');
}
$check = $jackpot->where("giftid='{$giftid}' and nums='{$nums}' and times = '{$times}'")->find();
// $check = $jackpot->where("giftid='{$giftid}' and nums='{$nums}' and times = '{$times}'")->find();
$check = $jackpot->where("giftid='{$giftid}'")->find();
if($check){
$this->error('相同数量、倍数的配置已存在');
// $this->error('相同数量、倍数的配置已存在');
$this->error('配置已存在');
}
$jackpot->addtime=time();
......
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