Commit 76420e48 by 冷斌

add

parent 9b8ec462
...@@ -39,9 +39,9 @@ class WelfareController extends AdminbaseController ...@@ -39,9 +39,9 @@ class WelfareController extends AdminbaseController
]; ];
try{ try{
if (empty($check)) { if (empty($check)) {
$jackpot->create($p); M("welfare_rate")->create($p);
} else { } else {
$jackpot->save($p); M("welfare_rate")->where("id=1")->save($p);
} }
}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