...
|
...
|
@@ -73,9 +73,6 @@ public class LuaSwitchCtrl { |
|
|
map.put("flag", StringUtils.equals("aws",cloudName) ? 1 : (StringUtils.equals("qcloud",cloudName) ? 2 : 3));
|
|
|
String path = request.getSession().getServletContext().getRealPath("/") + "lua/dns_resolver_worker.lua";
|
|
|
String result = HandlebarsUtils.replace(map,"dns_resolver_worker",path);
|
|
|
Map<String,Object> resultMap = new HashMap();
|
|
|
resultMap.put("filePath",path);
|
|
|
resultMap.put("result",result);
|
|
|
return new BaseResponse(200,"success",result);
|
|
|
}
|
|
|
|
...
|
...
|
|