From b281396aeeab349b9bdab7f023d643b7749bb2f6 Mon Sep 17 00:00:00 2001 From: Karson Date: Tue, 28 Mar 2023 16:14:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8F=82=E6=95=B0=E8=BF=87?= =?UTF-8?q?=E6=BB=A4=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复附件列表引入文件错误 --- README.md | 4 ++-- application/admin/lang/zh-cn.php | 1 + application/index/controller/User.php | 6 +++--- application/index/view/user/attachment.html | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 655badea..f7d6fe17 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ FastAdmin是一款基于ThinkPHP+Bootstrap的极速后台开发框架。 * 第三方小程序支持([CMS小程序](https://www.fastadmin.net/store/cms.html)、[预订小程序](https://www.fastadmin.net/store/ball.html)、[问答小程序](https://www.fastadmin.net/store/ask.html)、[点餐小程序](https://www.fastadmin.net/store/unidrink.html)、[B2C小程序](https://www.fastadmin.net/store/shopro.html)、[B2B2C小程序](https://www.fastadmin.net/store/wanlshop.html)、[博客小程序](https://www.fastadmin.net/store/blog.html)) * 整合第三方短信接口(阿里云、腾讯云短信) * 无缝整合第三方云存储(七牛云、阿里云OSS、又拍云)功能,支持云储存分片上传 -* 第三方富文本编辑器支持(Summernote、Kindeditor、百度编辑器) +* 第三方富文本编辑器支持(Summernote、百度编辑器) * 第三方登录(QQ、微信、微博)整合 * 第三方支付(微信、支付宝)无缝整合,微信支持PC端扫码支付 * 丰富的插件应用市场 @@ -92,6 +92,6 @@ FastAdmin遵循Apache2开源协议发布,并提供免费使用。 本项目包含的第三方源码和二进制文件之版权信息另行标注。 -版权所有Copyright © 2017-2022 by FastAdmin (https://www.fastadmin.net) +版权所有Copyright © 2017-2023 by FastAdmin (https://www.fastadmin.net) All rights reserved。 diff --git a/application/admin/lang/zh-cn.php b/application/admin/lang/zh-cn.php index 5f2df6fd..03389e27 100755 --- a/application/admin/lang/zh-cn.php +++ b/application/admin/lang/zh-cn.php @@ -5,6 +5,7 @@ return [ 'Username' => '用户名', 'Nickname' => '昵称', 'Password' => '密码', + 'Mobile' => '手机号', 'Sign up' => '注 册', 'Sign in' => '登 录', 'Sign out' => '退 出', diff --git a/application/index/controller/User.php b/application/index/controller/User.php index 13512027..a785fa04 100644 --- a/application/index/controller/User.php +++ b/application/index/controller/User.php @@ -66,7 +66,7 @@ class User extends Frontend */ public function register() { - $url = $this->request->request('url', '', 'trim|xss_clean'); + $url = $this->request->request('url', '', 'trim,xss_clean'); if ($this->auth->id) { $this->success(__('You\'ve logged in, do not login again'), $url ? $url : url('user/index')); } @@ -145,7 +145,7 @@ class User extends Frontend */ public function login() { - $url = $this->request->request('url', '', 'trim|xss_clean'); + $url = $this->request->request('url', '', 'trim,xss_clean'); if ($this->auth->id) { $this->success(__('You\'ve logged in, do not login again'), $url ? $url : url('user/index')); } @@ -199,7 +199,7 @@ class User extends Frontend */ public function mobilelogin() { - $url = $this->request->request('url', '', 'trim|xss_clean'); + $url = $this->request->request('url', '', 'trim,xss_clean'); if ($this->request->isPost()) { $mobile = $this->request->post('mobile'); $captcha = $this->request->post('captcha'); diff --git a/application/index/view/user/attachment.html b/application/index/view/user/attachment.html index 7c34ae76..57f6f9d9 100644 --- a/application/index/view/user/attachment.html +++ b/application/index/view/user/attachment.html @@ -1,4 +1,4 @@ - + {if $Think.get.dialog}