Commit 1a684442 by 宋毅

tj

parent cf60b764
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
var APIBase = require("../../api.base");
var system = require("../../../system");
var moment = require("moment");
class TestAPI extends APIBase {
constructor() {
super();
// this.orderSve = system.getObject("service.dborder.orderSve");
}
async test(pobj, query, req) {
return system.getResultSuccess({ req: "ok" });
// var rc = system.getObject("util.aliyunClient");
// var param = pobj;
// try {
// var body = {
// idempotentId: "fzsbzc",// 是 业务 ID
// idempotentSource: param.appSourceCode || "tm_1688",// 是 业务来源(ali、jd)
// idempotentSourceName: param.name || "1688应用",// 是 阿里,京东
// city: "",// 否 所属城市
// phone:"15010929366",// 是 手机号
// userId: "channelUserIdtest01",// 否 用户 ID
// companyName: "",// 否 公司名称
// orderPrice: 899,// 是 订单金额
// productId: "5dc936eb296d1572b9bc5b8d",// 是 产品 ID
// productQuantity: 1,// 是 产品数量
// };
// var submitTm = await rc.post("https://yunfuapi.gongsibao.com/crm/order/submit", body);
// return { code: 200, message: "ok", data: submitTm };
// } catch (e) {
// //日志记录
// logCtl.error({
// optitle: "查询阿里商标状态异常---error",
// op: "base/api/impl/tmsub/queryAliTmStatus",
// content: e.stack,
// clientIp: ""
// });
// }
// var body = { channelItemCode: "1329709" };
// returnRuslt={
// "returnValue": [
// {
// "bizStatusExt": "service",
// "memberId": "b2b-****02",
// "productName": "商机**",
// "gmtCreate": "20171231200252000+0800",
// "gmtServiceEnd": "20190101000000000+0800",
// "bizStatus": "S",
// "paymentAmount": 420,
// "executePrice": 420,
// "orderItemNum": "W1712*****_1",
// "gmtServiceBegin": "20171231000000000+0800",
// "gmtConfirm": "20171231200329000+0800",
// "settleItemDtos": [
// ],
// "payCustomerUid": "12345678990000",
// "signCustomerUid": "12345678990000"
// }
// ],
// "successed": true
// };
// var tmpreq={app:};
// this.orderSve.addOrderNeed()
// return system.getResultSuccess({ req: "ok" });
}
}
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