yangsai@163.com 6 months ago
parent cc819f6f2d
commit d07ac49847
  1. 6
      application/controllers/Api/Sysset.php

@ -39,9 +39,9 @@ class Api_SyssetController extends Ctrl_Api{
$excelSet = $this->POST['excelSet'];
$excelSet['now_squirrel']=json_encode($excelSet['now_squirrel']);
$excelSet['handle_squirrel']=json_encode($excelSet['handle_squirrel']);
$this->CageSetModel->update($cageSet);
$this->SquirrelSetModel->update($squirrelSet);
$this->ExcelSetModel->update($excelSet);
$this->CageSetModel->save($cageSet);
$this->SquirrelSetModel->save($squirrelSet);
$this->ExcelSetModel->save($excelSet);
Tool_Fnc::apiMsg('设置成功', '200');
//写入配置
}

Loading…
Cancel
Save