1、内核更新
2、后台bug修复(获取参数的bug)
This commit is contained in:
@@ -49,7 +49,7 @@ class Seo extends Admin{
|
||||
|
||||
public function add(){
|
||||
if (IS_POST) {
|
||||
$data = input('post.');
|
||||
$data = $this->request->post();
|
||||
if ($data) {
|
||||
$result = model('SeoRule')->save($data);
|
||||
if ($result) {
|
||||
@@ -72,7 +72,7 @@ class Seo extends Admin{
|
||||
|
||||
public function edit($id = null){
|
||||
if (IS_POST) {
|
||||
$data = input('post.');
|
||||
$data = $this->request->post();
|
||||
if ($data) {
|
||||
$result = model('SeoRule')->save($data,array('id'=>$data['id']));
|
||||
if (false !== $result) {
|
||||
|
||||
Reference in New Issue
Block a user