diff --git a/.idea/EasyImages2.0.iml b/.idea/EasyImages2.0.iml
new file mode 100644
index 0000000..c956989
--- /dev/null
+++ b/.idea/EasyImages2.0.iml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml
new file mode 100644
index 0000000..b3295c5
--- /dev/null
+++ b/.idea/codeStyles/Project.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml
new file mode 100644
index 0000000..79ee123
--- /dev/null
+++ b/.idea/codeStyles/codeStyleConfig.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/dictionaries/hqs.xml b/.idea/dictionaries/hqs.xml
new file mode 100644
index 0000000..8c0237a
--- /dev/null
+++ b/.idea/dictionaries/hqs.xml
@@ -0,0 +1,3 @@
+
+
+
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
new file mode 100644
index 0000000..97626ba
--- /dev/null
+++ b/.idea/encodings.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 0000000..8dac11b
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Blade files
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 0000000..ad7b1b6
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/php.xml b/.idea/php.xml
new file mode 100644
index 0000000..797f966
--- /dev/null
+++ b/.idea/php.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..94a25f7
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
new file mode 100644
index 0000000..663bb66
--- /dev/null
+++ b/.idea/workspace.xml
@@ -0,0 +1,226 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ C:\Users\hqs\AppData\Roaming\Subversion
+
+
+
+
+ 1562050381130
+
+
+ 1562050381130
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/README.md b/README.md
index 567e12c..bc5725b 100644
--- a/README.md
+++ b/README.md
@@ -38,7 +38,7 @@
1. 安装之前先使用浏览器访问check.php检查扩展是否都安装!
2. 使用前请注意先修改config.php中的domain域名。
-3. 请将所有文件必须赋予0755权限,执行用户设置www权限
+3. 请将所有文件必须赋予0777权限,执行用户设置www权限
4. 安装正常后请修改登录管理密码!
5. 如果无法登陆管理界面或上传图片,请先打开check.php检查扩展或者使用phpinfo检查。
6. 可以使用浏览器的 F12调试模式->console查看错误
@@ -74,6 +74,7 @@ api上传成功后返回json:
* 2019-6-26 v2.0.2.0
- 精简压缩代码,使得不再压缩后反而变大
- 删除异域上传功能,不再支持异域上传
+- 修复开启登录后无法粘贴密码
- 后台控制上传数量,上传格式
- 其他一些优化
diff --git a/index.php b/index.php
index 4b364df..f6334eb 100644
--- a/index.php
+++ b/index.php
@@ -65,57 +65,57 @@ if (@$_GET['e']==1){
-
+
+
+ var html = document.getElementById("html");
+ html.innerHTML += "<img src=\"" + obj.url + "\" />\n";
+ } else {
+ return '上传失败。服务器返回了一个错误:' + responseObject.response;
+ }
+ }
+ });
+
- // jsqrcode获取当前网址并赋值给id=text的value
- document.getElementById("text").value = window.location.href;
+echo '
+
-
-
-
+ function makeCode() {
+ var elText = document.getElementById("text");
+ if (!elText.value) {
+ alert("Input a text");
+ elText.focus();
+ return;
+ }
+ qrcode.makeCode(elText.value);
+ }
+ makeCode();
+ $("#text").on("blur",
+ function () {
+ makeCode();
+ }).on("keydown",
+ function (e) {
+ if (e.keyCode==13) {
+ makeCode();
+ }
+ });
+
+ // 百度统计
+ var _hmt = _hmt || [];
+ (function() {
+ var hm = document.createElement("script");
+ hm.src = "https://hm.baidu.com/hm.js?5320b69f4f1caa9328dfada73c8e6a75";
+ var s = document.getElementsByTagName("script")[0];
+ s.parentNode.insertBefore(hm, s);
+ })();
+