|
|
@@ -548,15 +548,15 @@ public class ApiService {
|
|
|
public Map pageDetailById(Map params) {
|
|
|
String id = params.get("id").toString();
|
|
|
Map info = apiDao.getDetailsInfoByIdAndType("page_details", id);
|
|
|
-
|
|
|
+ System.out.println("id---------"+id+"===============page======="+info);
|
|
|
return info;
|
|
|
}
|
|
|
|
|
|
// 添加page_details表数据
|
|
|
public Map addPage(Map maps) {
|
|
|
String pageDesc = "";
|
|
|
- String frontPath = maps.get("front_path").toString();
|
|
|
- String isEnable = maps.get("is_enable").toString();
|
|
|
+ String frontPath = "";//maps.get("front_path").toString();
|
|
|
+ String isEnable = "1";//maps.get("is_enable").toString();
|
|
|
String pageCode = maps.get("page_code").toString();
|
|
|
String pageName = maps.get("page_name").toString();
|
|
|
String pageJson = maps.get("page_json").toString();
|
|
|
@@ -641,7 +641,7 @@ public class ApiService {
|
|
|
// 添加/编辑api_details表数据
|
|
|
public Map saveApi(Map maps, String authorization) {
|
|
|
String apiDesc = "";
|
|
|
- String isEnable = maps.get("is_enable").toString();
|
|
|
+ String isEnable = "1";
|
|
|
String apiCode = maps.get("api_code").toString();
|
|
|
String apiName = maps.get("api_name").toString();
|
|
|
if(maps.containsKey("api_description")) {
|
|
|
@@ -692,7 +692,7 @@ public class ApiService {
|
|
|
// 添加/编辑item_details表数据
|
|
|
public Map saveItem(Map maps, String authorization) {
|
|
|
String itemDesc = "";
|
|
|
- String isEnable = maps.get("is_enable").toString();
|
|
|
+ String isEnable = "1"; //maps.get("is_enable").toString();
|
|
|
String itemCode = maps.get("item_code").toString();
|
|
|
String itemName = maps.get("item_name").toString();
|
|
|
if(maps.containsKey("item_description")) {
|