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 {
...@@ -36,49 +36,49 @@ class TestAPI extends APIBase { ...@@ -36,49 +36,49 @@ class TestAPI extends APIBase {
// } // }
// var body = { channelItemCode: "1329709" }; // var body = { channelItemCode: "1329709" };
// returnRuslt={ // returnRuslt={
// "returnValue": [ // "returnValue": [
// { // {
// "bizStatusExt": "service", // "bizStatusExt": "service",
// "memberId": "b2b-****02", // "memberId": "b2b-****02",
// "productName": "商机**", // "productName": "商机**",
// "gmtCreate": "20171231200252000+0800", // "gmtCreate": "20171231200252000+0800",
// "gmtServiceEnd": "20190101000000000+0800", // "gmtServiceEnd": "20190101000000000+0800",
// "bizStatus": "S", // "bizStatus": "S",
// "paymentAmount": 420, // "paymentAmount": 420,
// "executePrice": 420, // "executePrice": 420,
// "orderItemNum": "W1712*****_1", // "orderItemNum": "W1712*****_1",
// "gmtServiceBegin": "20171231000000000+0800", // "gmtServiceBegin": "20171231000000000+0800",
// "gmtConfirm": "20171231200329000+0800", // "gmtConfirm": "20171231200329000+0800",
// "settleItemDtos": [ // "settleItemDtos": [
// ], // ],
// "payCustomerUid": "12345678990000", // "payCustomerUid": "12345678990000",
// "signCustomerUid": "12345678990000" // "signCustomerUid": "12345678990000"
// } // }
// ], // ],
// "successed": true // "successed": true
// }; // };
// 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