mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 20:52:48 +08:00
修正relation关联模型一处警告错误
This commit is contained in:
@@ -97,9 +97,10 @@ trait Relation
|
||||
* 对保存到数据库的数据进行处理
|
||||
* @access protected
|
||||
* @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);
|
||||
return $data;
|
||||
|
||||
Reference in New Issue
Block a user