Commit 7f96e2a8 by 冷斌

add

parent e6bc4618
......@@ -37,10 +37,14 @@ class WelfareController extends AdminbaseController
'giftid' => 0,
'nums' => 0.
];
if ($check) {
$jackpot->create($p);
} else {
$jackpot->save($p);
try{
if ($check) {
$jackpot->create($p);
} else {
$jackpot->save($p);
}
}catch (\Exception $exception){
}
}
}
......@@ -48,7 +52,6 @@ class WelfareController extends AdminbaseController
function index(){
$this->savePrice();
$giftid= 76;
$map['giftid']=$giftid;
......
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