main
黄海 9 months ago
parent b12a6d1f90
commit 8ce1c75ddd

@ -34,13 +34,13 @@ public class DataEaseController extends Controller {
// !!!必须发布后访问才能做到进入此接口,否则浏览器就走缓存,不进来这个接口了!!! // !!!必须发布后访问才能做到进入此接口,否则浏览器就走缓存,不进来这个接口了!!!
/** /**
* *
* *
* @param city_name * @param city_name
*/ */
@Before({GET.class}) @Before({GET.class})
@EmptyInterface({"city_name"}) @EmptyInterface({"city_name"})
public void routeMap(String city_name) { public void route(String city_name) {
//大屏名称 //大屏名称
String dataVisualizationName = BaseApplication.PropKit.get("dataEase.dataVisualizationName"); String dataVisualizationName = BaseApplication.PropKit.get("dataEase.dataVisualizationName");
//发布的地址 //发布的地址
@ -56,6 +56,7 @@ public class DataEaseController extends Controller {
redirect(publish_url + "/#/de-link/zud8IQ8J?attachParams=" + base64Str); redirect(publish_url + "/#/de-link/zud8IQ8J?attachParams=" + base64Str);
} }
//http://10.10.21.20:9000/dsBase/dataease/routeFirstPage?type_id=1&area_name=昆明市
/** /**
* *
* *
@ -65,7 +66,7 @@ public class DataEaseController extends Controller {
@Before({GET.class}) @Before({GET.class})
@EmptyInterface({"area_name"}) @EmptyInterface({"area_name"})
@IsNumericInterface({"type_id"}) @IsNumericInterface({"type_id"})
public void route(int type_id, String area_name) { public void routeFirstPage(int type_id, String area_name) {
//发布的地址 //发布的地址
String publish_url = BaseApplication.PropKit.get("dataEase.publish_url"); String publish_url = BaseApplication.PropKit.get("dataEase.publish_url");
//拼接一下URL的最终地址 //拼接一下URL的最终地址

Loading…
Cancel
Save