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
64bdae99
Commit
64bdae99
authored
Dec 16, 2019
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
899332da
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
22 deletions
+36
-22
igirl-channel/app/base/api/impl/api/testApiT.js
+13
-0
igirl-channel/app/base/api/impl/test/testApi.js
+23
-22
No files found.
igirl-channel/app/base/api/impl/api/testApiT.js
0 → 100644
View file @
64bdae99
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
View file @
64bdae99
...
@@ -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
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