Commit 21c64e35 by 冷斌

add

parent db054087
...@@ -38,13 +38,11 @@ class WelfareController extends AdminbaseController ...@@ -38,13 +38,11 @@ class WelfareController extends AdminbaseController
'nums' => 0. 'nums' => 0.
]; ];
try{ try{
if ($check) { if (!$check) {
$a = $jackpot->create($p); $jackpot->create($p);
} else { } else {
$a = $jackpot->save($p); $jackpot->save($p);
} }
var_dump($a);
die;
}catch (\Exception $exception){ }catch (\Exception $exception){
} }
......
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