正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
@@ -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) { |
-
请 注册 或 登录 后发表评论