Commit 22bc56ef by 王昆

gsb

parent f8580147
...@@ -850,7 +850,8 @@ class LaoActionApi extends APIBase { ...@@ -850,7 +850,8 @@ class LaoActionApi extends APIBase {
} }
return system.getResult(tem_res); return system.getResult(tem_res);
} }
} catch { } catch(error) {
console.log(error);
return system.getResult(null, "获取数据失败"); return system.getResult(null, "获取数据失败");
} }
} }
...@@ -986,7 +987,8 @@ class LaoActionApi extends APIBase { ...@@ -986,7 +987,8 @@ class LaoActionApi extends APIBase {
} else { } else {
return system.getResult(null, "更新数据失败"); return system.getResult(null, "更新数据失败");
} }
} catch { } catch(e) {
console.log(e);
return system.getResult(null, "更新失败!"); return system.getResult(null, "更新失败!");
} }
...@@ -1029,7 +1031,8 @@ class LaoActionApi extends APIBase { ...@@ -1029,7 +1031,8 @@ class LaoActionApi extends APIBase {
} else { } else {
return system.getResult(null, "更新失败"); return system.getResult(null, "更新失败");
} }
} catch { } catch(e) {
console.log(e);
return system.getResult(null, "更新失败!"); return system.getResult(null, "更新失败!");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment