Commit 64bdae99 by 宋毅

tj

parent 899332da
var APIBase = require("../../api.base");
var system = require("../../../system");
var moment = require("moment");
class testApIT extends APIBase {
constructor() {
super();
}
async test(pobj, query, req) {
return system.getResultSuccess({ req: "ok22" });
}
}
module.exports = testApIT;
\ No newline at end of file
...@@ -4,10 +4,10 @@ var moment = require("moment"); ...@@ -4,10 +4,10 @@ var moment = require("moment");
class TestAPI extends APIBase { class TestAPI extends APIBase {
constructor() { constructor() {
super(); super();
this.orderSve = system.getObject("service.dborder.orderSve"); // this.orderSve = system.getObject("service.dborder.orderSve");
} }
async test(pobj, query, req) { async test(pobj, query, req) {
return system.getResultSuccess({ req: "ok" });
// var rc = system.getObject("util.aliyunClient"); // var rc = system.getObject("util.aliyunClient");
// var param = pobj; // var param = pobj;
// try { // try {
...@@ -78,7 +78,7 @@ class TestAPI extends APIBase { ...@@ -78,7 +78,7 @@ class TestAPI extends APIBase {
// }; // };
// var tmpreq={app:}; // var tmpreq={app:};
// this.orderSve.addOrderNeed() // this.orderSve.addOrderNeed()
return system.getResultSuccess({ req: "ok" }); // return system.getResultSuccess({ req: "ok" });
} }
} }
module.exports = TestAPI; module.exports = TestAPI;
\ No newline at end of file
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