最佳答案
let AbstractAPIHandler = require('AbstractAPIHandler');
class MyAPIHandler extends AbstractAPIHandler {
execute(request){
let id = request.id;
let billChildSql = "select id,productCode from voucher.order.OrderDetail where id ='"+id+"'";
let info = ObjectStore.queryByYonQL(billChildSql, "udinghuo");
return {info};
}
}
exports({"entryPoint":MyAPIHandler});