|
|
|
@ -1,7 +1,6 @@
|
|
|
|
|
package com.dsideal.base.DataEase.Controller;
|
|
|
|
|
|
|
|
|
|
import cn.hutool.core.codec.Base64;
|
|
|
|
|
import com.dsideal.base.Base.Model.BaseModel;
|
|
|
|
|
import com.dsideal.base.BaseApplication;
|
|
|
|
|
import com.dsideal.base.DataEase.Model.DataEaseModel;
|
|
|
|
|
import com.dsideal.base.Interceptor.EmptyInterface;
|
|
|
|
@ -17,8 +16,6 @@ import com.jfinal.ext.interceptor.POST;
|
|
|
|
|
import com.jfinal.kit.Kv;
|
|
|
|
|
import com.jfinal.plugin.activerecord.Record;
|
|
|
|
|
import com.jfinal.upload.UploadFile;
|
|
|
|
|
import io.github.yedaxia.apidocs.ApiDoc;
|
|
|
|
|
import net.sf.json.JSONArray;
|
|
|
|
|
import net.sf.json.JSONObject;
|
|
|
|
|
|
|
|
|
|
import java.io.IOException;
|
|
|
|
@ -52,11 +49,14 @@ public class DataEaseController extends Controller {
|
|
|
|
|
JSONObject jo = new JSONObject();
|
|
|
|
|
jo.put("city_name", city_name);
|
|
|
|
|
String base64Str = Base64.encode(jo.toString());
|
|
|
|
|
//记录最后一次操作的是哪个市或者县区
|
|
|
|
|
dm.writeLastArea(city_name);
|
|
|
|
|
//跳转
|
|
|
|
|
redirect(publish_url + "/#/de-link/zud8IQ8J?attachParams=" + base64Str);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//http://10.10.21.20:9000/dsBase/dataease/routeFirstPage?type_id=1&area_name=昆明市
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 路由
|
|
|
|
|
*
|
|
|
|
|