作者 开飞机的舒克

bug

@@ -114,6 +114,7 @@ class User extends Backend @@ -114,6 +114,7 @@ class User extends Backend
114 }else{ 114 }else{
115 $params['teach_phone'] = null; 115 $params['teach_phone'] = null;
116 } 116 }
  117 + $params['avatar'] = substr($params['avatar'],82,21);
117 $result = $row->allowField(true)->save($params); 118 $result = $row->allowField(true)->save($params);
118 Db::commit(); 119 Db::commit();
119 } catch (ValidateException|PDOException|Exception $e) { 120 } catch (ValidateException|PDOException|Exception $e) {