application/core/manage/logic/MemberLogic.php
public function saveUser($user_id, $data)
    {
        // 清除缓存
        unset(self::$users[$user_id]);
        
        return $this->model->saveById($data, $user_id);
    }
public function saveUser($user_id, $data)
    {
        // 清除缓存
        unset(self::$users[$user_id]);
        
        return $this->model->saveById($data, $user_id);
    }
保存用户

@param number $user_id
@param array $data
@return number