更新-优化
							parent
							
								
									7ec59dc027
								
							
						
					
					
						commit
						1c76973d84
					
				| 
						 | 
				
			
			@ -470,8 +470,10 @@ function getVersion()
 | 
			
		|||
				$getVersion->downJson();
 | 
			
		||||
			} else if ($day == $now) { // 是否在需要更新的日期
 | 
			
		||||
				$getVersion->downJson();
 | 
			
		||||
			/*
 | 
			
		||||
			} elseif ($config['version'] == $getVersion->readJson()) { // 版本相同不提示
 | 
			
		||||
				return null;
 | 
			
		||||
			*/
 | 
			
		||||
			} else { // 返回版本
 | 
			
		||||
				return $getVersion->readJson();
 | 
			
		||||
			}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,41 +0,0 @@
 | 
			
		|||
{
 | 
			
		||||
  "url": "https://api.github.com/repos/icret/EasyImages2.0/releases/43402637",
 | 
			
		||||
  "assets_url": "https://api.github.com/repos/icret/EasyImages2.0/releases/43402637/assets",
 | 
			
		||||
  "upload_url": "https://uploads.github.com/repos/icret/EasyImages2.0/releases/43402637/assets{?name,label}",
 | 
			
		||||
  "html_url": "https://github.com/icret/EasyImages2.0/releases/tag/2.2.0",
 | 
			
		||||
  "id": 43402637,
 | 
			
		||||
  "author": {
 | 
			
		||||
    "login": "icret",
 | 
			
		||||
    "id": 16373024,
 | 
			
		||||
    "node_id": "MDQ6VXNlcjE2MzczMDI0",
 | 
			
		||||
    "avatar_url": "https://avatars.githubusercontent.com/u/16373024?v=4",
 | 
			
		||||
    "gravatar_id": "",
 | 
			
		||||
    "url": "https://api.github.com/users/icret",
 | 
			
		||||
    "html_url": "https://github.com/icret",
 | 
			
		||||
    "followers_url": "https://api.github.com/users/icret/followers",
 | 
			
		||||
    "following_url": "https://api.github.com/users/icret/following{/other_user}",
 | 
			
		||||
    "gists_url": "https://api.github.com/users/icret/gists{/gist_id}",
 | 
			
		||||
    "starred_url": "https://api.github.com/users/icret/starred{/owner}{/repo}",
 | 
			
		||||
    "subscriptions_url": "https://api.github.com/users/icret/subscriptions",
 | 
			
		||||
    "organizations_url": "https://api.github.com/users/icret/orgs",
 | 
			
		||||
    "repos_url": "https://api.github.com/users/icret/repos",
 | 
			
		||||
    "events_url": "https://api.github.com/users/icret/events{/privacy}",
 | 
			
		||||
    "received_events_url": "https://api.github.com/users/icret/received_events",
 | 
			
		||||
    "type": "User",
 | 
			
		||||
    "site_admin": false
 | 
			
		||||
  },
 | 
			
		||||
  "node_id": "MDc6UmVsZWFzZTQzNDAyNjM3",
 | 
			
		||||
  "tag_name": "2.2.0",
 | 
			
		||||
  "target_commitish": "master",
 | 
			
		||||
  "name": "EasyImage2.0 简单图床 ver:2.2.0",
 | 
			
		||||
  "draft": false,
 | 
			
		||||
  "prerelease": false,
 | 
			
		||||
  "created_at": "2021-05-22T03:30:17Z",
 | 
			
		||||
  "published_at": "2021-05-22T03:40:31Z",
 | 
			
		||||
  "assets": [
 | 
			
		||||
 | 
			
		||||
  ],
 | 
			
		||||
  "tarball_url": "https://api.github.com/repos/icret/EasyImages2.0/tarball/2.2.0",
 | 
			
		||||
  "zipball_url": "https://api.github.com/repos/icret/EasyImages2.0/zipball/2.2.0",
 | 
			
		||||
  "body": "* 2021-5-8 v2.2.0\r\n- 增加根目录静态属性\r\n- 增加浏览页面懒加载\r\n- 增加浏览页面启用选定日期查看图片\r\n- 增加版本检测 ***每月10日06点和25日01点检测Github是否更新***\r\n- 增加上传压缩 ***此压缩有可能使图片变大!特别是小图片 也有一定概率改变图片方向***\r\n- 增加批量压缩目录 ***TinyImag或本机压缩,本机压缩出现的问题***\r\n- 修复title\r\n- 修复二级目录安装\r\n- 修复对PHP5.6的兼容 ***建议使用php7.0及以上!***"
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
		Reference in New Issue