|  | @@ -1,5 +1,7 @@
 | 
	
		
			
				|  |  |  package com.ym.mec.web.controller;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +import com.alibaba.fastjson.JSONObject;
 | 
	
		
			
				|  |  | +import com.ym.mec.biz.dal.entity.AppVersionInfoBak;
 | 
	
		
			
				|  |  |  import io.swagger.annotations.Api;
 | 
	
		
			
				|  |  |  import io.swagger.annotations.ApiImplicitParam;
 | 
	
		
			
				|  |  |  import io.swagger.annotations.ApiOperation;
 | 
	
	
		
			
				|  | @@ -42,6 +44,12 @@ public class AppVersionInfoController extends BaseController {
 | 
	
		
			
				|  |  |  	public Object queryByPlatform(String platform) {
 | 
	
		
			
				|  |  |  		List<AppVersionInfo> list = appVersionInfoService.queryNewestByPlatform(platform);
 | 
	
		
			
				|  |  |  		if (list.size() > 0) {
 | 
	
		
			
				|  |  | +			AppVersionInfo appVersionInfo = list.get(0);
 | 
	
		
			
				|  |  | +			if(appVersionInfo.getVersion().equals("2.0.9") && appVersionInfo.getPlatform().equals("android-education")){
 | 
	
		
			
				|  |  | +				AppVersionInfoBak appVersionInfoBak = JSONObject.parseObject(JSONObject.toJSONString(appVersionInfo),AppVersionInfoBak.class);
 | 
	
		
			
				|  |  | +				appVersionInfoBak.setDownloadUrl(new String(appVersionInfo.getDownloadUrl()));
 | 
	
		
			
				|  |  | +				return succeed(appVersionInfoBak);
 | 
	
		
			
				|  |  | +			}
 | 
	
		
			
				|  |  |  			return succeed(list.get(0));
 | 
	
		
			
				|  |  |  		}
 | 
	
		
			
				|  |  |  		return failed();
 |