|
|
|
@ -15,6 +15,7 @@ import com.charge.user.entity.*;
|
|
|
|
|
import com.charge.user.entity.mongo.AccessLog;
|
|
|
|
|
import com.charge.user.service.*;
|
|
|
|
|
import com.charge.user.service.impl.AsyncTask;
|
|
|
|
|
import com.charge.util.CommonUtil;
|
|
|
|
|
import com.github.pagehelper.PageHelper;
|
|
|
|
|
import com.github.pagehelper.PageInfo;
|
|
|
|
|
import com.jfinal.kit.Kv;
|
|
|
|
@ -536,5 +537,39 @@ public class UserController {
|
|
|
|
|
kv.set("data", record);
|
|
|
|
|
return kv;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@RequestMapping(value = "/HuangHaiTest2")
|
|
|
|
|
@ResponseBody
|
|
|
|
|
public Kv HuangHaiTest2(HttpServletRequest request) {
|
|
|
|
|
List<Record> list = new ArrayList<>();
|
|
|
|
|
|
|
|
|
|
Record r1 = new Record();
|
|
|
|
|
r1.set("dictKey", 1);
|
|
|
|
|
r1.set("dictValue", "卫生间");
|
|
|
|
|
r1.set("imageUrl", "station-toilet");
|
|
|
|
|
r1.set("id", null);
|
|
|
|
|
r1.set("parentId", null);
|
|
|
|
|
r1.set("code", null);
|
|
|
|
|
r1.set("sort", null);
|
|
|
|
|
r1.set("remark", null);
|
|
|
|
|
r1.set("isSealed", null);
|
|
|
|
|
r1.set("isDeleted", null);
|
|
|
|
|
list.add(r1);
|
|
|
|
|
|
|
|
|
|
Record r2 = new Record();
|
|
|
|
|
r2.set("dictKey", 1);
|
|
|
|
|
r2.set("dictValue", "卫生间");
|
|
|
|
|
r2.set("imageUrl", "station-toilet");
|
|
|
|
|
r2.set("id", null);
|
|
|
|
|
r2.set("parentId", null);
|
|
|
|
|
r2.set("code", null);
|
|
|
|
|
r2.set("sort", null);
|
|
|
|
|
r2.set("remark", null);
|
|
|
|
|
r2.set("isSealed", null);
|
|
|
|
|
r2.set("isDeleted", null);
|
|
|
|
|
list.add(r2);
|
|
|
|
|
return CommonUtil.getRet(list, true, "获取成功!");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|