Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
1a684442
Commit
1a684442
authored
Dec 16, 2019
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
cf60b764
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
98 deletions
+0
-98
igirl-channel/app/base/api/impl/api/testApiT.js
+0
-13
igirl-channel/app/base/api/impl/test/testApi.js
+0
-85
No files found.
igirl-channel/app/base/api/impl/api/testApiT.js
deleted
100644 → 0
View file @
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
igirl-channel/app/base/api/impl/test/testApi.js
deleted
100644 → 0
View file @
cf60b764
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment