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
d9ccae62
Commit
d9ccae62
authored
Jan 09, 2020
by
宋毅
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'igirl-channel' of gitlab.gongsibao.com:jiangyong/zhichan into igirl-channel
parents
bc0f9a32
a2df052a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
+4
-1
igirl-channel/app/base/api/impl/action/tmOrder.js
+3
-0
igirl-channel/app/base/utils/execClient.js
+1
-1
No files found.
igirl-channel/app/base/api/impl/action/tmOrder.js
View file @
d9ccae62
...
@@ -230,16 +230,19 @@ class TmOrderAPI extends APIBase {
...
@@ -230,16 +230,19 @@ class TmOrderAPI extends APIBase {
case
"getCAProductDetail"
:
//根据渠道产品码获取产品详情 ---应用中心
case
"getCAProductDetail"
:
//根据渠道产品码获取产品详情 ---应用中心
// opResult = await this.appProductSve.findByChannelItemCode(action_body);
// opResult = await this.appProductSve.findByChannelItemCode(action_body);
pobj
[
"app"
]
=
req
.
appInfo
;
pobj
[
"app"
]
=
req
.
appInfo
;
pobj
[
"appInfo"
]
=
req
.
appInfo
;
opResult
=
await
this
.
appProductSve
.
getProductDetailByCode
(
pobj
);
opResult
=
await
this
.
appProductSve
.
getProductDetailByCode
(
pobj
);
break
;
break
;
case
"getCAProductListByTypeOneCode"
:
//获取产品列表(根据产品一类编码获取) ---应用中心
case
"getCAProductListByTypeOneCode"
:
//获取产品列表(根据产品一类编码获取) ---应用中心
// opResult = await this.appProductSve.findByProductOneTypeCode(action_body);
// opResult = await this.appProductSve.findByProductOneTypeCode(action_body);
pobj
[
"app"
]
=
req
.
appInfo
;
pobj
[
"app"
]
=
req
.
appInfo
;
pobj
[
"appInfo"
]
=
req
.
appInfo
;
opResult
=
await
this
.
appProductSve
.
findByTypeOneCode
(
pobj
);
opResult
=
await
this
.
appProductSve
.
findByTypeOneCode
(
pobj
);
break
;
break
;
case
"getCAProductListByTypeCode"
:
//获取产品列表(根据父类产品编码获取) ---应用中心
case
"getCAProductListByTypeCode"
:
//获取产品列表(根据父类产品编码获取) ---应用中心
// opResult = await this.appProductSve.findByProductTypeCode(action_body);
// opResult = await this.appProductSve.findByProductTypeCode(action_body);
pobj
[
"app"
]
=
req
.
appInfo
;
pobj
[
"app"
]
=
req
.
appInfo
;
pobj
[
"appInfo"
]
=
req
.
appInfo
;
opResult
=
await
this
.
appProductSve
.
findByTypeCode
(
pobj
);
opResult
=
await
this
.
appProductSve
.
findByTypeCode
(
pobj
);
break
;
break
;
case
"subGsbOrderInfo"
:
//提交公司宝订单信息
case
"subGsbOrderInfo"
:
//提交公司宝订单信息
...
...
igirl-channel/app/base/utils/execClient.js
View file @
d9ccae62
var
childproc
=
require
(
'child_process'
);
var
childproc
=
require
(
'child_process'
);
const
util
=
require
(
'util'
);
const
util
=
require
(
'util'
);
const
exec
=
util
.
promisify
(
require
(
'child_process'
).
exec
);
const
exec
=
util
.
promisify
(
require
(
'child_process'
).
exec
);
const
uuidv4
=
require
(
'uuid/v4'
);
class
ExecClient
{
class
ExecClient
{
constructor
()
{
constructor
()
{
this
.
cmdPostPattern
=
"curl --user admines:adminGSBes. -k -H 'Content-type: application/json' -d '{data}' {url}"
;
this
.
cmdPostPattern
=
"curl --user admines:adminGSBes. -k -H 'Content-type: application/json' -d '{data}' {url}"
;
...
...
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