Commit 0a9ff004 by 冷斌

add

parent f130aa76
......@@ -43,9 +43,8 @@ class WelfareController extends AdminbaseController
M("welfare_rate")->add($p);
} else {
$a = M("welfare_rate")->where("id=1");
$a->price = $price;
$b = $a->save();
var_dump($check);
$b = $a->save(['price' => $price]);
var_dump($b);
die;
}
}
......
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