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
4ef42ef0
Commit
4ef42ef0
authored
May 20, 2021
by
兰国旗
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
百度公司注册套餐
parent
14782c26
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletions
+14
-1
center-app/app/base/service/impl/dbproduct/productSve.js
+1
-1
center-app/app/base/utils/execClient.js
+13
-0
No files found.
center-app/app/base/service/impl/dbproduct/productSve.js
View file @
4ef42ef0
...
@@ -331,7 +331,7 @@ class ProductService extends ServiceBase {
...
@@ -331,7 +331,7 @@ class ProductService extends ServiceBase {
break
;
break
;
// 2020-12-21新增 /REG/GSREG/ 询价方法
// 2020-12-21新增 /REG/GSREG/ 询价方法
case
'REG'
:
case
'REG'
:
if
(
code2
==
"GSREG"
){
if
(
code2
==
"GSREG"
||
code2
==
"QYJYTC1"
||
code2
==
"QYJYTC2"
){
if
(
actionBody
.
city
&&
actionBody
.
taxpayerType
){
if
(
actionBody
.
city
&&
actionBody
.
taxpayerType
){
let
str
=
actionBody
.
city
+
actionBody
.
taxpayerType
;
let
str
=
actionBody
.
city
+
actionBody
.
taxpayerType
;
producesql
+=
` AND pc.price_desc = '
${
str
}
'`
;
producesql
+=
` AND pc.price_desc = '
${
str
}
'`
;
...
...
center-app/app/base/utils/execClient.js
View file @
4ef42ef0
...
@@ -42,6 +42,19 @@ class ExecClient {
...
@@ -42,6 +42,19 @@ class ExecClient {
return
cmd
;
return
cmd
;
}
}
async
execPost
(
subData
,
url
)
{
async
execPost
(
subData
,
url
)
{
//本机windows curl json格式
// if (settings.env == 'dev') {
// const rs = await axios.post(url, subData, {
// auth: {
// username: "admines",
// password: "adminGSBes"
// }
// });
// const ret = {
// stdout: JSON.stringify(rs.data)
// }
// return ret;
// }
let
cmd
=
this
.
FetchPostCmd
(
subData
,
url
);
let
cmd
=
this
.
FetchPostCmd
(
subData
,
url
);
var
result
=
await
this
.
exec
(
cmd
);
var
result
=
await
this
.
exec
(
cmd
);
return
result
;
return
result
;
...
...
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