mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 23:02:48 +08:00
修正relation关联模型一处警告错误
This commit is contained in:
@@ -97,9 +97,10 @@ trait Relation
|
|||||||
* 对保存到数据库的数据进行处理
|
* 对保存到数据库的数据进行处理
|
||||||
* @access protected
|
* @access protected
|
||||||
* @param mixed $data 要操作的数据
|
* @param mixed $data 要操作的数据
|
||||||
* @return boolean
|
* @param string $type insert 或者 update
|
||||||
|
* @return array
|
||||||
*/
|
*/
|
||||||
protected function _write_data($data)
|
protected function _write_data($data, $type)
|
||||||
{
|
{
|
||||||
$this->_before_write($data);
|
$this->_before_write($data);
|
||||||
return $data;
|
return $data;
|
||||||
|
|||||||
Reference in New Issue
Block a user